diff options
author | Suzuki K Poulose <[email protected]> | 2021-02-01 11:13:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-02-04 17:00:33 +0100 |
commit | 91b9f018548747dfa6d543d74dfe59a8c6e9be7e (patch) | |
tree | 82ca03404588e5fe7255817a4bf130e3f882e5da /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 03336d0f4d0d74e7a5f899bf9d4933e0d4397c94 (diff) |
coresight: etm4x: Hide sysfs attributes for unavailable registers
Some of the management registers in ETMv4.x are not accessible
via system register instructions. Thus we must hide the sysfs
files exposing them to the userspace, to prevent system crashes.
This patch adds an is_visible() routine to control the visibility
at runtime for the registers that may not be accessed.
Link: https://lore.kernel.org/r/[email protected]
Cc: Mathieu Poirier <[email protected]>
Cc: Mike Leach <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions