libsysprof-profiler: add scaffolding for disk usage

This still needs porting from libsysprof, but this gets the scaffolding in
place to bring over those counters.
This commit is contained in:
Christian Hergert
2023-06-02 13:38:03 -07:00
parent e10ab3e32e
commit 728a9ce86a
5 changed files with 114 additions and 1 deletions

View File

@ -114,6 +114,7 @@ main (int argc,
profiler = sysprof_profiler_new ();
sysprof_profiler_add_instrument (profiler, sysprof_cpu_usage_new ());
sysprof_profiler_add_instrument (profiler, sysprof_disk_usage_new ());
sysprof_profiler_add_instrument (profiler, sysprof_network_usage_new ());
sysprof_profiler_record_async (profiler, writer, NULL, record_cb, NULL);