Messages in this thread | | | Subject | Re: [PATCHv4 0/8] perf, tool: Allow to use hw events in PMU syntax | From | Peter Zijlstra <> | Date | Tue, 23 Oct 2012 17:05:34 +0200 |
| |
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?
| |