[PATCH 0/3] Add e6500 perf events to sysfs and update perf doc
Tom Huynh
tom.huynh at freescale.com
Sat Feb 7 09:43:53 AEDT 2015
This patch set adds generic events, specific events, and format attribute
for the e6500 pmu to sysfs. This makes perf more convenient to use on the
e6500 by allowing the users to see all supported events and specify
events using meaningful names instead of raw event codes.
This patchset includes similar features in the following commits:
- 1c53a270724d
("perf/POWER7: Make generic event translations available in sysfs").
- 886c3b2d677f
("perf/POWER7: Make some POWER7 events available in sysfs")
- cfe0d8ba14a1
("perf tools: Make Power7 events available for perf")
- 3bf7b07ece6e
("perf/POWER7: Create a sysfs format entry for Power7 events").
This patchset also update tool/perf/design.txt to account for the changes
in commit a21ca2cac582 ("perf_counter: Separate out attr->type from
attr->config").
Attached patches:
1/3 perf/e6500: Make event translations available in sysfs
2/3 perf/e6500: Create a sysfs format entry for e6500 events
3/3 perf/doc: Update perf_event_attr struct
arch/powerpc/include/asm/perf_event_fsl_emb.h | 20 +-
arch/powerpc/perf/core-fsl-emb.c | 12 ++
arch/powerpc/perf/e6500-events-list.h | 289 ++++++++++++++++++++++++++
arch/powerpc/perf/e6500-pmu.c | 63 +++++-
tools/perf/design.txt | 159 ++++++++++----
5 files changed, 491 insertions(+), 52 deletions(-)
create mode 100644 arch/powerpc/perf/e6500-events-list.h
--
1.9.1
More information about the Linuxppc-dev
mailing list