libsysprof-profile: add network usage instrument

This commit is contained in:
Christian Hergert
2023-05-31 22:43:33 -07:00
parent e3404dd0ca
commit fd40e940d3
5 changed files with 414 additions and 0 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_network_usage_new ());
sysprof_profiler_record_async (profiler, writer, NULL, record_cb, NULL);