aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2024-01-18 13:46:08 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-02-09 13:58:14 +0100
commitd414f4ecb240b994cba8c9666def0a4b9c953601 (patch)
tree9b9f4679251c2ed83897312d6f5cd79c0a0e72ae /tools/perf/scripts/python/bin/stackcollapse-report
parents390/pai_crypto: emit error on too many counters (diff)
downloadlinux-d414f4ecb240b994cba8c9666def0a4b9c953601.tar.gz
linux-d414f4ecb240b994cba8c9666def0a4b9c953601.zip
s390/pai: export number of sysfs attribute files
The number of sysfs files to be exported by the PAI device drivers depends on the hardware version level. Use the value returned by the hardware as the maximum number of counters to be exported in the sysfs attribute tree. Without the fix, older machine generation export counter names based on paiXXXX_ctrnames static array info, which can be inaccurate, as this array could also contain newer counter names in the future. This ensures proper pai counter sysfs attributes for both newer generation and older generation processors. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions