mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-profile: fix index of cpu ids
This commit is contained in:
@ -165,8 +165,8 @@ sysprof_cpu_usage_record_fiber (gpointer user_data)
|
|||||||
g_autofree char *max_value = NULL;
|
g_autofree char *max_value = NULL;
|
||||||
CpuFreq cf;
|
CpuFreq cf;
|
||||||
|
|
||||||
ids[n_cpu*2] = counter_base;
|
ids[i*2] = counter_base;
|
||||||
ids[n_cpu*2+1] = counter_base + 1;
|
ids[i*2+1] = counter_base + 1;
|
||||||
|
|
||||||
counter = &counters[i*2];
|
counter = &counters[i*2];
|
||||||
counter->id = counter_base;
|
counter->id = counter_base;
|
||||||
|
|||||||
Reference in New Issue
Block a user