mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sysprof: add missing CPU usage recording to template
This commit is contained in:
@ -543,6 +543,9 @@ sysprof_recording_template_apply (SysprofRecordingTemplate *self,
|
|||||||
if (self->bundle_symbols)
|
if (self->bundle_symbols)
|
||||||
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
|
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
|
||||||
|
|
||||||
|
if (self->cpu_usage)
|
||||||
|
sysprof_profiler_add_instrument (profiler, sysprof_cpu_usage_new ());
|
||||||
|
|
||||||
if (self->disk_usage)
|
if (self->disk_usage)
|
||||||
sysprof_profiler_add_instrument (profiler, sysprof_disk_usage_new ());
|
sysprof_profiler_add_instrument (profiler, sysprof_disk_usage_new ());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user