diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-03-14 01:00:44 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-03-23 18:48:33 -0400 |
commit | ad0a02b834777f2e107bfd2f3fa240cd7335cc59 (patch) | |
tree | 308f91b2091ff06dc0a19e0a0d405017755cbef1 /Documentation/ABI | |
parent | 30daeb6c8f54841274d1845b85c41f44165b3755 (diff) |
powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes
gpci and 24x7 expose some device specific attributes. Add some
documentation for them.
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | 23 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci | 43 |
2 files changed, 66 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 new file mode 100644 index 000000000000..e78ee798d7bd --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | |||
@@ -0,0 +1,23 @@ | |||
1 | What: /sys/bus/event_source/devices/hv_24x7/interface/catalog | ||
2 | Date: February 2014 | ||
3 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
4 | Description: | ||
5 | Provides access to the binary "24x7 catalog" provided by the | ||
6 | hypervisor on POWER7 and 8 systems. This catalog lists events | ||
7 | avaliable from the powerpc "hv_24x7" pmu. Its format is | ||
8 | documented here: | ||
9 | https://raw.githubusercontent.com/jmesmon/catalog-24x7/master/hv-24x7-catalog.h | ||
10 | |||
11 | What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_length | ||
12 | Date: February 2014 | ||
13 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
14 | Description: | ||
15 | A number equal to the length in bytes of the catalog. This is | ||
16 | also extractable from the provided binary "catalog" sysfs entry. | ||
17 | |||
18 | What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_version | ||
19 | Date: February 2014 | ||
20 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
21 | Description: | ||
22 | Exposes the "version" field of the 24x7 catalog. This is also | ||
23 | extractable from the provided binary "catalog" sysfs entry. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci new file mode 100644 index 000000000000..3fa58c23f13b --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci | |||
@@ -0,0 +1,43 @@ | |||
1 | What: /sys/bus/event_source/devices/hv_gpci/interface/collect_privileged | ||
2 | Date: February 2014 | ||
3 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
4 | Description: | ||
5 | '0' if the hypervisor is configured to forbid access to event | ||
6 | counters being accumulated by other guests and to physical | ||
7 | domain event counters. | ||
8 | '1' if that access is allowed. | ||
9 | |||
10 | What: /sys/bus/event_source/devices/hv_gpci/interface/ga | ||
11 | Date: February 2014 | ||
12 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
13 | Description: | ||
14 | 0 or 1. Indicates whether we have access to "GA" events (listed | ||
15 | in arch/powerpc/perf/hv-gpci.h). | ||
16 | |||
17 | What: /sys/bus/event_source/devices/hv_gpci/interface/expanded | ||
18 | Date: February 2014 | ||
19 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
20 | Description: | ||
21 | 0 or 1. Indicates whether we have access to "EXPANDED" events (listed | ||
22 | in arch/powerpc/perf/hv-gpci.h). | ||
23 | |||
24 | What: /sys/bus/event_source/devices/hv_gpci/interface/lab | ||
25 | Date: February 2014 | ||
26 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
27 | Description: | ||
28 | 0 or 1. Indicates whether we have access to "LAB" events (listed | ||
29 | in arch/powerpc/perf/hv-gpci.h). | ||
30 | |||
31 | What: /sys/bus/event_source/devices/hv_gpci/interface/version | ||
32 | Date: February 2014 | ||
33 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
34 | Description: | ||
35 | A number indicating the version of the gpci interface that the | ||
36 | hypervisor reports supporting. | ||
37 | |||
38 | What: /sys/bus/event_source/devices/hv_gpci/interface/kernel_version | ||
39 | Date: February 2014 | ||
40 | Contact: Cody P Schafer <cody@linux.vnet.ibm.com> | ||
41 | Description: | ||
42 | A number indicating the latest version of the gpci interface | ||
43 | that the kernel is aware of. | ||