diff options
| author | Kajol Jain <[email protected]> | 2020-02-14 13:36:06 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-03-04 22:44:28 +1100 |
| commit | 22697da36d0cee57c2a5750ef7d84e4d88da17e7 (patch) | |
| tree | 0da473bf8a2f86695aebab1bb6787a1f9e6e1464 /tools/perf/scripts/python/netdev-times.py | |
| parent | fcdb524d440d6326c286006e16f252b40ba4fd6a (diff) | |
powerpc/kernel/sysfs: Add new config option PMU_SYSFS to enable PMU SPRs sysfs file creation
Many of the performance monitoring unit (PMU) SPRs are
exposed in the sysfs. This may not be a desirable since
"perf" API is the primary interface to program PMU and
collect counter data in the system. But that said, we
cant remove these sysfs files since we dont whether
anyone/anything is using them.
So the patch adds a new CONFIG option 'CONFIG_PMU_SYSFS'
(user selectable) to be used in sysfs file creation for
PMU SPRs. New option by default is disabled, but can be
enabled if user needs it.
Tested this patch behaviour in powernv and pseries machines.
Patch is also tested for pmac32_defconfig.
Signed-off-by: Kajol Jain <[email protected]>
Tested-by: Nageswara R Sastry <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions