From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
To: mingo@redhat.com, ak@linux.intel.com,
Michael Ellerman <mpe@ellerman.id.au>,
Jiri Olsa <jolsa@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: namhyung@kernel.org, maddy@linux.vnet.ibm.com,
linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH V15 00/19] perf, tools: Add support for PMU events in JSON format
Date: Tue, 11 Aug 2015 13:07:24 -0700 [thread overview]
Message-ID: <20150811200724.GA10078@us.ibm.com> (raw)
In-Reply-To: <1433921123-25327-1-git-send-email-sukadev@linux.vnet.ibm.com>
Sukadev Bhattiprolu [sukadev@linux.vnet.ibm.com] wrote:
| CPUs support a large number of performance monitoring events (PMU events)
| and often these events are very specific to an architecture/model of the
| CPU. To use most of these PMU events with perf, we currently have to identify
| them by their raw codes:
|
| perf stat -e r100f2 sleep 1
|
| This patchset allows architectures to specify these PMU events in JSON
| files located in 'tools/perf/pmu-events/arch/' of the mainline tree.
| The events from the JSON files for the architecture are then built into
| the perf binary.
|
| At run time, perf identifies the specific set of events for the CPU and
| creates "event aliases". These aliases allow users to specify events by
| "name" as:
|
| perf stat -e pm_1plus_ppc_cmpl sleep 1
|
| The file, 'tools/perf/pmu-events/README' in [PATCH 19/19] gives more
| details.
|
| Note:
| - All known events tables for the architecture are included in the
| perf binary.
|
| - For architectures that don't have any JSON files, an empty mapping
| table is created and they should continue to build)
|
| Thanks to input from Andi Kleen, Jiri Olsa, Namhyung Kim and Ingo Molnar.
|
| These patches are available from:
|
| https://github.com:sukadev/linux.git
|
| Branch Description
| ------------------------------------------------------
| json-v15 Source Code only
| json-files-5 x86 and Powerpc datafiles only
| json-v15-with-data Both code and data (build/test)
|
| NOTE: Only "source code" patches (i.e those in json-v15) are being emailed.
| Please pull the "data files" from the json-files-5 branch.
Ingo, Arnaldo,
Any updates on this patchset? They have been reviewed/acked by Jiri
and we have not received any comments since then.
Is there a chance this can make it into 4.3?
Sukadev
prev parent reply other threads:[~2015-08-11 20:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 7:25 [PATCH V15 00/19] perf, tools: Add support for PMU events in JSON format Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 01/19] perf, tools: Add jsmn `jasmine' JSON parser Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 02/19] perf, tools, jevents: Program to convert JSON file to C style file Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 03/19] Use __weak definition from <linux/compiler.h> Sukadev Bhattiprolu
2015-06-25 7:56 ` [tip:perf/core] perf pmu: Use __weak definition from <linux/ compiler.h> tip-bot for Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 04/19] perf, tools: Split perf_pmu__new_alias() Sukadev Bhattiprolu
2015-06-25 7:56 ` [tip:perf/core] perf pmu: " tip-bot for Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 05/19] perf, tools: Use pmu_events table to create aliases Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 06/19] perf, tools: Support CPU ID matching for Powerpc Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 07/19] perf, tools: Allow events with dot Sukadev Bhattiprolu
2015-06-25 7:57 ` [tip:perf/core] perf " tip-bot for Andi Kleen
2015-06-10 7:25 ` [PATCH v15 08/19] perf, tools: Support CPU id matching for x86 v2 Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 09/19] perf, tools: Support alias descriptions Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 10/19] perf, tools: Query terminal width and use in perf list Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 11/19] perf, tools: Add a --no-desc flag to " Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 12/19] perf, tools: Add override support for event list CPUID Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 13/19] perf, tools, jevents: Add support for long descriptions Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 14/19] perf, tools: Add alias " Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 15/19] perf, tools: Support long descriptions with perf list Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 16/19] perf, tools, jevents: Add support for event topics Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 17/19] perf, tools: Add support for event list topics Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 18/19] perf, tools: Handle header line in mapfile Sukadev Bhattiprolu
2015-06-10 7:25 ` [PATCH v15 19/19] perf, tools: Add README for info on parsing JSON/map files Sukadev Bhattiprolu
2015-08-11 20:07 ` Sukadev Bhattiprolu [this message]
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=20150811200724.GA10078@us.ibm.com \
--to=sukadev@linux.vnet.ibm.com \
--cc=acme@kernel.org \
--cc=ak@linux.intel.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.vnet.ibm.com \
--cc=mingo@redhat.com \
--cc=mpe@ellerman.id.au \
--cc=namhyung@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.