[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111221165233.GL16765@erda.amd.com>
Date: Wed, 21 Dec 2011 17:52:33 +0100
From: Robert Richter <robert.richter@....com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
CC: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
Stephane Eranian <eranian@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
Lin Ming <ming.m.lin@...el.com>
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@...el.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@...el.com>
Forgot this:
Signed-off-by: Robert Richter <robert.richter@....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@...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