Re: [PATCH] ARC: Add perf support

2013-08-28 Thread Ingo Molnar
* Mischa Jonker wrote: > +/* The "generalized" performance events seem to really be a copy > + of the available events on x86 processors; the mapping to ARC > + events is not always possible 1-to-1. Fortunately, there doesn't > + seem to be an exact definition for these events, so we can c

[PATCH] ARC: Add perf support

2013-08-28 Thread Mischa Jonker
This adds basic perf support for ARC. Most PERF_COUNT_HW* events are supported now. Cache events and callchains are not (yet). Signed-off-by: Mischa Jonker --- arch/arc/boot/dts/angel4.dts |4 + arch/arc/include/asm/perf_event.h | 190 +- arch/arc/kernel/Makefile