diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2016-02-16 20:07:51 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-10 22:57:22 +1100 |
commit | d34171e88aeed4a99c00c7f2af3d5c553e7a4972 (patch) | |
tree | c7f6c4944a9d2ecca396254e4d02d14a0227f719 /arch/powerpc/perf/hv-24x7.h | |
parent | 2b206ee6b0df03a89783c6a9ada363122f918800 (diff) | |
download | linux-d34171e88aeed4a99c00c7f2af3d5c553e7a4972.tar.gz linux-d34171e88aeed4a99c00c7f2af3d5c553e7a4972.tar.bz2 linux-d34171e88aeed4a99c00c7f2af3d5c553e7a4972.zip |
powerpc/perf/hv-24x7: Display domain indices in sysfs
To help users determine domains, display the domain indices used by the
kernel in sysfs.
$ cat /sys/bus/event_source/devices/hv_24x7/interface/domains
1: Physical Chip
2: Physical Core
3: VCPU Home Core
4: VCPU Home Chip
5: VCPU Home Node
6: VCPU Remote Node
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/hv-24x7.h')
-rw-r--r-- | arch/powerpc/perf/hv-24x7.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/perf/hv-24x7.h b/arch/powerpc/perf/hv-24x7.h index c57d67dc9f3f..791455e7f5cf 100644 --- a/arch/powerpc/perf/hv-24x7.h +++ b/arch/powerpc/perf/hv-24x7.h @@ -7,6 +7,7 @@ enum hv_perf_domains { #define DOMAIN(n, v, x, c) HV_PERF_DOMAIN_##n = v, #include "hv-24x7-domains.h" #undef DOMAIN + HV_PERF_DOMAIN_MAX, }; struct hv_24x7_request { |