summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSrish Srinivasan <ssrish@linux.ibm.com>2026-09-23 23:58:13 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-09-29 22:09:46 +0530
commit46b8411b2ee948b1786bc4af76e7feede0c2ddff (patch)
tree799cd6ca4ea847e9852f24c739e41ef380a0edb9 /tools/perf/scripts/python/bin/stackcollapse-report
parentabcccecf4aa4b681f50eb7d7de93fc9a0a61c181 (diff)
pseries/plpks: hide wrapping_features when unsupported
The PLPKS wrapping features config is only valid on systems that support the "Key Wrapping" feature. Currently the config is always exposed, even when the feature is unavailable. Add an is_visible() callback to suppress the wrapping_features sysfs attribute when the "Key Wrapping" feature is not supported. Declare the attribute group static const, as it is not modified after initialization. Fixes: 447eb1d5ef00 ("pseries/plpks: expose PowerVM wrapping features via the sysfs") Cc: stable@vger.kernel.org # 7.0 Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com> Tested-by: R Nageswara Sastry <rnsastry@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260923182816.151451-10-ssrish@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions