Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-16 Thread Tom Huynh
On Mon, Feb 09, 2015 at 09:40:19PM +0100, Andi Kleen wrote: > > I'll NAK any external 'download area' (and I told that Andi > > before): tools/perf/event-tables/ or so is a good enough > > 'download area' with fast enough update cycles. > > The proposal was to put it on kernel.org, similar to ho

[PATCH 2/3] perf/e6500: Create a sysfs format entry for e6500 events

2015-02-06 Thread Tom Huynh
7ece6e ("perf/POWER7: Create a sysfs format entry for Power7 events"). Signed-off-by: Kim Phillips Signed-off-by: Tom Huynh --- arch/powerpc/perf/e6500-pmu.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/perf/e6500-pmu.c b/arch/powerpc/perf/e6500-pmu.c

[PATCH 0/3] Add e6500 perf events to sysfs and update perf doc

2015-02-06 Thread Tom Huynh
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 s

[PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-06 Thread Tom Huynh
events available for perf") Signed-off-by: Tom Huynh --- 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

[PATCH 3/3] perf/doc: Update perf_event_attr struct

2015-02-06 Thread Tom Huynh
Update the fields in perf_event_attr as currently seen in include/uapi/linux/perf_event.h Remove outdated comments on the config field The doc has not account for commit a21ca2cac582 ("perf_counter: Separate out attr->type from attr->config"). Signed-off-by: Tom H

[PATCH] powerpc/perf: fix fsl_emb_pmu_start to write correct pmc value

2015-01-20 Thread Tom Huynh
. Same as commit 9a45a9407c69 ("powerpc/perf: power_pmu_start restores incorrect values, breaking frequency events") for book3s. Signed-off-by: Tom Huynh --- arch/powerpc/perf/core-fsl-emb.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/perf/core-f