From ee721412ebd3434bc6dd60f5a78f53a4f6e97667 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 27 Jan 2019 17:54:11 +0100 Subject: Fix issue with cpu_id and numa_code captured too early Change-Id: I79b213b34c6071d14acf1922f89037a4a5a36c45 Signed-off-by: Damjan Marion --- src/plugins/perfmon/perfmon_periodic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/perfmon') 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) -- cgit 1.2.3-korg