mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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_CURRENT_TIME,
|
||||
getpid (),
|
||||
-1,
|
||||
-1,
|
||||
counter_ids,
|
||||
counter_values,
|
||||
|
||||
Reference in New Issue
Block a user