[PATCH v3 1/2] perf tools: fix a typo of a Power7 event name

2013-06-28 Thread Runzhen Wang
M_BR_MPRED" rather than "PM_BRU_MPRED". - These are in the ABI/testing at this point rather than ABI/stable, so hoping we have some wiggle room. Signed-off-by: Runzhen Wang --- .../testing/sysfs-bus-event_source-devices-events |2 +- arch/powerpc/perf/power7-pmu.c

[PATCH v3 2/2] perf tools: Make Power7 events available for perf

2013-06-28 Thread Runzhen Wang
s raw code: [root@localhost perf]# time ./event_code.sh [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.003 MB perf.data (~112 samples) ] real0m1.198s user0m0.028s sys 0m0.105s Signed-off-by: Runzhen Wang --- arch/powerpc/include/asm/perf_event_serv

[PATCH v3 0/2] perf tools: Power7 events name available for perf

2013-06-28 Thread Runzhen Wang
_ATTR(_name, _code) #include "power7-events-list.h" #undef EVENT to generate different outputs. Thanks Runzhen Wang Runzhen Wang (2): perf tools: fix a typo of a Power7 event name perf tools: Make Power7 events available for perf .../testing/sysfs-bus-event_so

[PATCH v2 0/2] perf tools: Power7 events name available for perf

2013-06-25 Thread Runzhen Wang
s named "power7-events-list.h", and use several macros, such as, #define EVENT(_name, _code) POWER_EVENT_ATTR(_name, _code) #include "power7-events-list.h" #undef EVENT to generate different outputs. Thanks Runzhen Wang Runzhen Wang (2): perf tools

[PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-06-25 Thread Runzhen Wang
s raw code: [root@localhost perf]# time ./event_code.sh [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.003 MB perf.data (~112 samples) ] real0m1.198s user0m0.028s sys 0m0.105s Signed-off-by: Runzhen Wang --- arch/powerpc/include/asm/perf_event_serv

[PATCH v3 1/2] perf tools: fix a typo of a Power7 event name

2013-06-25 Thread Runzhen Wang
M_BR_MPRED" rather than "PM_BRU_MPRED". - These are in the ABI/testing at this point rather than ABI/stable, so hoping we have some wiggle room. Signed-off-by: Runzhen Wang --- .../testing/sysfs-bus-event_source-devices-events |2 +- arch/powerpc/perf/power7-pmu.c

[PATCH 1/2] perf tools: fix a typo of a Power7 event name

2013-06-19 Thread Runzhen Wang
In the Power7 PMU guide: https://www.power.org/documentation/commonly-used-metrics-for-performance-analysis/ PM_BRU_MPRED is referred to as PM_BR_MPRED. This patch fix the typo by changing the name of the event in kernel and documentation accordingly. Signed-off-by: Runzhen Wang