From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
mingo@redhat.com, Jiri Olsa <jolsa@redhat.com>
Cc: linuxppc-dev@lists.ozlabs.org, <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/4] powerpc/perf: Export Power8 PMU events in sysfs
Date: Mon, 2 Nov 2015 12:22:21 -0800 [thread overview]
Message-ID: <1446495745-24001-1-git-send-email-sukadev@linux.vnet.ibm.com> (raw)
For consistency with Power7, export Power8 PMU events in sysfs.
This would also allow users to specify the PMU events by name:
perf stat -e 'cpu/PM_VSU1_FPSCR/' sleep 1
Sukadev Bhattiprolu (4):
powerpc/perf: Remove PME_ prefix for power7 events
powerpc/perf: Export Power8 generic and cache events in sysfs
perf/powerpc: Rename some Power8 events
powerpc/perf: Export all Power8 PMU events in sysfs
arch/powerpc/include/asm/perf_event_server.h | 2 +-
arch/powerpc/perf/power7-pmu.c | 18 +-
arch/powerpc/perf/power8-events-list.h | 1077 ++++++++++++++++++++++++++
arch/powerpc/perf/power8-pmu.c | 82 +-
4 files changed, 1128 insertions(+), 51 deletions(-)
create mode 100644 arch/powerpc/perf/power8-events-list.h
--
2.5.3
next reply other threads:[~2015-11-02 20:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 20:22 Sukadev Bhattiprolu [this message]
2015-11-02 20:22 ` [PATCH 1/4] powerpc/perf: Remove PME_ prefix for power7 events Sukadev Bhattiprolu
2015-11-02 20:22 ` [PATCH 2/4] powerpc/perf: Export Power8 generic and cache events in sysfs Sukadev Bhattiprolu
2015-11-02 20:22 ` [PATCH 3/4] powerpc/perf: Rename some Power8 events Sukadev Bhattiprolu
2015-11-02 20:22 ` [PATCH 4/4] powerpc/perf: Export all Power8 PMU events in sysfs Sukadev Bhattiprolu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1446495745-24001-1-git-send-email-sukadev@linux.vnet.ibm.com \
--to=sukadev@linux.vnet.ibm.com \
--cc=acme@kernel.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mingo@redhat.com \
--cc=mpe@ellerman.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).