mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: add instrument to record scheduler switching
This is to allow us to look at what processes were running when as a way to get a high-level overview of usage.
This commit is contained in:
@ -203,6 +203,8 @@ main (int argc,
|
||||
if (memprof)
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_malloc_tracing_new ());
|
||||
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_scheduler_details_new ());
|
||||
|
||||
if (tracer)
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_tracer_new ());
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user