summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChengrui Liu <OrangeBlack0765@outlook.com>2026-07-16 09:04:35 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-07-19 23:16:22 +0100
commit0777fb25ed35cbb1d0f10625e3b0362a139f8f46 (patch)
tree2e7b471b8a7b0f0bd705b50d68ce239ddc4b13f0 /tools/perf/scripts/python/stackcollapse.py
parent23f66b58b14bd5068ece70c118755cc24ff75baf (diff)
iio: light: tsl2583: migrate to sysfs_emit() and sysfs_emit_at()
Replace sprintf() with sysfs_emit() for single-value sysfs show functions, and use sysfs_emit_at() for lux_table_show() which concatenates multiple values. This ensures buffer safety and follows the modern kernel sysfs API. Signed-off-by: Chengrui Liu <OrangeBlack0765@outlook.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions