diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-04-02 18:50:00 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-03 05:07:46 -0600 |
| commit | a175ee8273319547a4be7584da03831a2fb2f835 (patch) | |
| tree | 2c81fde623c6350745d30bc205dd257c6599d25a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4e56428ed4782e9e1356875af8e714b24c5a8783 (diff) | |
block: use sysfs_emit in sysfs show functions
Replace sprintf() with sysfs_emit() in sysfs show functions.
sysfs_emit() is preferred for formatting sysfs output because it
provides safer bounds checking.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260402164958.894879-4-thorsten.blum@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
