Re: [PATCHv4 0/8] perf, tool: Allow to use hw events in PMU syntax

From: Peter Zijlstra
Date: Tue Oct 23 2012 - 11:05:52 EST


On Wed, 2012-10-10 at 14:53 +0200, Jiri Olsa wrote:
> arch/x86/kernel/cpu/perf_event.c | 121
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> arch/x86/kernel/cpu/perf_event.h | 2 ++
> arch/x86/kernel/cpu/perf_event_amd.c | 9 +++++++
> arch/x86/kernel/cpu/perf_event_intel.c | 9 +++++++
> arch/x86/kernel/cpu/perf_event_p6.c | 2 ++
> include/linux/perf_event.h | 3 +++

These bits look like they want to live in
arch/x86/kernel/cpu/perf_event.h, they're rather x86 specific. I moved
them over.

> tools/perf/util/parse-events-test.c | 68
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> tools/perf/util/parse-events.c | 18 ++++++++++++++
> tools/perf/util/parse-events.h | 2 ++
> tools/perf/util/parse-events.y | 18 ++++++++++++++
> tools/perf/util/pmu.c | 7 +++---
> 11 files changed, 256 insertions(+), 3 deletions(-)

Acme, you ok with these bits?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/