mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profiler: start on perf instrument
This starts porting the old perf code from libsysprof into libsysprof-profile. It does not bring over tracepoints yet, because we need to think about how we want to support that. I may opt to do that as a separate instrument even if that takes an additional perf fd.
This commit is contained in:
@ -120,6 +120,7 @@ main (int argc,
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_disk_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_memory_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_network_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_sampler_new ());
|
||||
|
||||
for (int i = 1; i < argc; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user