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>
This commit is contained in:

committed by
Michael Ellerman

parent
2b206ee6b0
commit
d34171e88a
@@ -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 {
|
||||
|
Reference in New Issue
Block a user