Messages in this thread | | | Date | Wed, 21 Dec 2011 17:52:33 +0100 | From | Robert Richter <> | Subject | Re: [PATCH 1/4] perf tool: Parse general/raw events from sysfs |
| |
On 15.12.11 18:23:41, Robert Richter wrote: > From: Lin Ming <ming.m.lin@intel.com> > > PMU can export general events to sysfs, for example, > > /sys/bus/event_source/devices/uncore/events > └── cycle > > Then specify the event as <pmu>:<event>, > > $ sudo perf stat -a -C 0 -e uncore:cycle > ^C > Performance counter stats for 'CPU 0': > > 56,547,314 uncore:cycle > > Raw event can be specified as <pmu>:rXXXX > > $ sudo perf stat -a -C 0 -e uncore:r0101 > ^C > Performance counter stats for 'CPU 0': > > 8,504 uncore:r0101 > > Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Forgot this:
Signed-off-by: Robert Richter <robert.richter@amd.com>
-Robert
-- Advanced Micro Devices, Inc. Operating System Research Center
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |