mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: add section for counter values
This commit is contained in:
@ -361,10 +361,11 @@ cursor_foreach_cb (const SysprofCaptureFrame *frame,
|
||||
item.end_time = frame->time;
|
||||
item.group = ctr->category;
|
||||
item.name = ctr->name;
|
||||
item.value = values->values[j];
|
||||
item.is_counter = TRUE;
|
||||
item.counter_type = ctr->type;
|
||||
|
||||
memcpy (&item.value, &values->values[j], sizeof item.value);
|
||||
|
||||
g_array_append_val (self->items, item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user