[PATCH v13 10/14] perf, tools: Add override support for event list CPUID

2015-06-02 Thread Sukadev Bhattiprolu
From: Andi Kleen Add a PERF_CPUID variable to override the CPUID of the current CPU. This is useful for testing, so that all event lists can be tested on a single system. Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu v2: Fix double free in earlier version. Print actual

[PATCH v13 10/14] perf, tools: Add override support for event list CPUID

2015-06-02 Thread Sukadev Bhattiprolu
From: Andi Kleen a...@linux.intel.com Add a PERF_CPUID variable to override the CPUID of the current CPU. This is useful for testing, so that all event lists can be tested on a single system. Signed-off-by: Andi Kleen a...@linux.intel.com Signed-off-by: Sukadev Bhattiprolu