diff options
author | Kajol Jain <[email protected]> | 2020-05-25 16:13:04 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-05-28 23:24:39 +1000 |
commit | 8ba21426738207711347335b2cf3e99c690fc777 (patch) | |
tree | 7dbce5bf874c63bb3acd1a17024f124fdb3e73d7 /tools/perf/scripts/python/syscall-counts.py | |
parent | b4ac18eead28611ff470d0f47a35c4e0ac080d9c (diff) |
powerpc/hv-24x7: Add rtas call in hv-24x7 driver to get processor details
For hv_24x7 socket/chip level events, specific chip-id to which
the data requested should be added as part of pmu events.
But number of chips/socket in the system details are not exposed.
Patch implements read_24x7_sys_info() to get system parameter values
like number of sockets, cores per chip and chips per socket. Rtas_call
with token "PROCESSOR_MODULE_INFO" is used to get these values.
Subsequent patch exports these values via sysfs.
Patch also make these parameters default to 1.
Signed-off-by: Kajol Jain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions