summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAbhinav Ananthu <abhinav.ogl@gmail.com>2025-07-07 09:47:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-16 14:17:07 +0200
commit77e49c3588689cf3c9a344c7cc80fb4e61c1375e (patch)
treeee729ce6d095d0d00552e14d5914abf9d255c83d /tools/perf/scripts/python/stackcollapse.py
parentd1934ed9803c6a36280fbe5a9e91dd7df432bfe7 (diff)
mcb: use sysfs_emit_at() instead of scnprintf() in show functions
This change improves clarity and ensures proper bounds checking in line with the preferred sysfs_emit() API usage for sysfs 'show' functions. The PAGE_SIZE check is now handled internally by the helper. No functional change intended. Signed-off-by: Abhinav Ananthu <abhinav.ogl@gmail.com> Signed-off-by: Johannes Thumshirn <jth@kernel.org> Reviewed-by: Johannes Thumshirn <jth@kernel.org> Link: https://lore.kernel.org/r/20250707074720.40051-2-jth@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions