aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2024-03-14 18:04:02 +0800
committerThomas Gleixner <[email protected]>2024-04-09 12:32:37 +0200
commit98fe0fcb326a923740cb8900aa7ed7fe538c984a (patch)
tree1a324e4308dd88f7a13d0b5edb228d109060a3c3 /tools/perf/scripts/python
parent8f0acb7f3a1331559e325566c00c26d1523dfe06 (diff)
clockevents: Convert s[n]printf() to sysfs_emit()
Per filesystems/sysfs.rst, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. coccinelle complains that there are still a couple of functions that use snprintf(). Convert them to sysfs_emit(). Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions