* Anton Blanchard an...@samba.org wrote:
Hook up the alignment-faults and emulation-faults events for powerpc.
Signed-off-by: Anton Blanchard an...@samba.org
nice.
The first patch is for perf events - it would be nice if we could do the
two PowerPC changes via the perf events tree - that
Hook up the alignment-faults and emulation-faults events for powerpc.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/include/asm/emulated_ops.h
===
---
On Sun, 2009-10-18 at 22:13 +1100, Anton Blanchard wrote:
Hook up the alignment-faults and emulation-faults events for powerpc.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/include/asm/emulated_ops.h
Hi,
+#define PPC_WARN_ALIGNMENT(type, regs) \
+ do {\
+ perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, \
+ 1, 0, regs, regs-dar); \
+