0001 What: /sys/bus/event_source/devices/<dev>/format
0002 Date: January 2012
0003 KernelVersion: 3.3
0004 Contact: Jiri Olsa <jolsa@redhat.com>
0005 Description:
0006 Attribute group to describe the magic bits that go into
0007 perf_event_attr::config[012] for a particular pmu.
0008 Each attribute of this group defines the 'hardware' bitmask
0009 we want to export, so that userspace can deal with sane
0010 name/value pairs.
0011
0012 Userspace must be prepared for the possibility that attributes
0013 define overlapping bit ranges. For example::
0014
0015 attr1 = 'config:0-23'
0016 attr2 = 'config:0-7'
0017 attr3 = 'config:12-35'
0018
0019 Example: 'config1:1,6-10,44'
0020 Defines contents of attribute that occupies bits 1,6-10,44 of
0021 perf_event_attr::config1.