[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130619161446.GB13326@us.ibm.com>
Date: Wed, 19 Jun 2013 09:14:46 -0700
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Runzhen Wang <runzhen@...ux.vnet.ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
michael@...erman.id.au, paulus@...ba.org, acme@...hat.com,
xiaoguangrong@...ux.vnet.ibm.com, icycoder@...il.com
Subject: Re: [PATCH 2/2] perf tools: Make Power7 events available for perf
Runzhen Wang [runzhen@...ux.vnet.ibm.com] wrote:
| Power7 supports over 530 different perf events but only a small
| subset of these can be specified by name, for the remaining
| events, we must specify them by their raw code:
|
| perf stat -e r2003c <application>
|
| This patch makes all the POWER7 events available in sysfs.
| So we can instead specify these as:
|
| perf stat -e 'cpu/PM_CMPLU_STALL_DFU/' <application>
|
| where PM_CMPLU_STALL_DFU is the r2003c in previous example.
|
| Before this patch is applied, the size of power7-pmu.o is:
|
| $ size arch/powerpc/perf/power7-pmu.o
| text data bss dec hex filename
| 3073 2720 0 5793 16a1 arch/powerpc/perf/power7-pmu.o
|
| and after the patch is applied, it is:
|
| $ size arch/powerpc/perf/power7-pmu.o
| text data bss dec hex filename
| 14451 31112 0 45563 b1fb arch/powerpc/perf/power7-pmu.o
|
| Signed-off-by: Runzhen Wang <runzhen@...ux.vnet.ibm.com>
Reviewed-by: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists