diff options
author | Damjan Marion <damarion@cisco.com> | 2019-01-27 17:54:11 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-27 20:23:17 +0000 |
commit | ee721412ebd3434bc6dd60f5a78f53a4f6e97667 (patch) | |
tree | be5d65a55fe68d7de55740fed6dfbfaaf3b7e6a7 /src/plugins | |
parent | 87c657036a804c1dd20bfc83c665c105fcdda26c (diff) |
Fix issue with cpu_id and numa_code captured too early
Change-Id: I79b213b34c6071d14acf1922f89037a4a5a36c45
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/perfmon/perfmon_periodic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfmon/perfmon_periodic.c b/src/plugins/perfmon/perfmon_periodic.c index 0811439d7eb..12a1891518f 100644 --- a/src/plugins/perfmon/perfmon_periodic.c +++ b/src/plugins/perfmon/perfmon_periodic.c @@ -142,7 +142,7 @@ enable_current_events (perfmon_main_t * pm) pe.exclude_hv = 1; } - cpu = vm->cpu_index; + cpu = vm->cpu_id; fd = perf_event_open (&pe, 0, cpu, -1, 0); if (fd == -1) |