mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
hostinfo: fix cpu/pid parameters for setting cpu counters
We don't need pid here anyway, since we're just passing on counters for the system itself.
This commit is contained in:
@ -186,7 +186,7 @@ publish_cpu (SpHostinfoSource *self)
|
|||||||
|
|
||||||
sp_capture_writer_set_counters (self->writer,
|
sp_capture_writer_set_counters (self->writer,
|
||||||
SP_CAPTURE_CURRENT_TIME,
|
SP_CAPTURE_CURRENT_TIME,
|
||||||
getpid (),
|
-1,
|
||||||
-1,
|
-1,
|
||||||
counter_ids,
|
counter_ids,
|
||||||
counter_values,
|
counter_values,
|
||||||
|
|||||||
Reference in New Issue
Block a user