[PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries

Jiri Olsa jolsa at redhat.com
Wed Jan 23 04:10:13 EST 2013


On Fri, Jan 18, 2013 at 09:46:54AM -0800, Sukadev Bhattiprolu wrote:
> Jiri Olsa [jolsa at redhat.com] wrote:

SNIP

> +
> +Contact:	Linux kernel mailing list <linux-kernel at vger.kernel.org>
> +		Linux Powerpc mailing list <linuxppc-dev at ozlabs.org>
> +
> +Description:	POWER-systems specific performance monitoring events
> +
> +		A collection of performance monitoring events that may be
> +		supported by the POWER CPU. These events can be monitored
> +		using the 'perf(1)' tool.
> +
> +		These events may not be supported by other CPUs.
> +
> +		The contents of each file would look like:
> +
> +			event=0xNNNN
> +
> +		where 'N' is a hex digit and the number '0xNNNN' shows the
> +		"raw code" for the perf event identified by the file's
> +		"basename".
> +
> +		Further, multiple terms like 'event=0xNNNN' can be specified
> +		and separated with comma. All available terms are defined in
> +		the /sys/bus/event_source/devices/<dev>/format file.

Acked-by: Jiri Olsa <jolsa at redhat.com>

thanks,
jirka


More information about the Linuxppc-dev mailing list