xref: /linux/Documentation/ABI/testing/sysfs-bus-event_source-devices-format (revision 641cc938815dfd09f8fa1ec72deb814f0938ac33)
1*641cc938SJiri OlsaWhere:		/sys/bus/event_source/devices/<dev>/format
2*641cc938SJiri OlsaDate:		January 2012
3*641cc938SJiri OlsaKernel Version: 3.3
4*641cc938SJiri OlsaContact:	Jiri Olsa <jolsa@redhat.com>
5*641cc938SJiri OlsaDescription:
6*641cc938SJiri Olsa		Attribute group to describe the magic bits that go into
7*641cc938SJiri Olsa		perf_event_attr::config[012] for a particular pmu.
8*641cc938SJiri Olsa		Each attribute of this group defines the 'hardware' bitmask
9*641cc938SJiri Olsa		we want to export, so that userspace can deal with sane
10*641cc938SJiri Olsa		name/value pairs.
11*641cc938SJiri Olsa
12*641cc938SJiri Olsa		Example: 'config1:1,6-10,44'
13*641cc938SJiri Olsa		Defines contents of attribute that occupies bits 1,6-10,44 of
14*641cc938SJiri Olsa		perf_event_attr::config1.
15