diff options
| author | Chelsy Ratnawat <chelsyratnawat2001@gmail.com> | 2025-08-22 04:28:04 -0700 |
|---|---|---|
| committer | Jeff Hugo <jeff.hugo@oss.qualcomm.com> | 2025-10-06 14:38:20 -0600 |
| commit | e68c994445e37322eac1f255489eb4564935969a (patch) | |
| tree | 267b5b7c0c413b5bec77a677c6caf35023895d15 /tools/perf/scripts/python/flamegraph.py | |
| parent | bed1291240e19782873120c59c305e24d94407a1 (diff) | |
| download | linux-e68c994445e37322eac1f255489eb4564935969a.tar.gz linux-e68c994445e37322eac1f255489eb4564935969a.zip | |
accel/qaic: Replace snprintf() with sysfs_emit() in sysfs show functions
Documentation/filesystems/sysfs.rst mentions that show() should only
use sysfs_emit() or sysfs_emit_at() when formatting the value to be
returned to user space. So replace snprintf() with sysfs_emit().
Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
[jhugo: Fix commit text typos]
Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250822112804.1726592-1-chelsyratnawat2001@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
