diff options
| author | Madhur Kumar <madhurkumar004@gmail.com> | 2025-09-24 01:20:51 +0530 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@linux.intel.com> | 2025-09-26 00:38:01 +0200 |
| commit | 40ac9b3eb09085dd729032ac5e1ea213068f34cc (patch) | |
| tree | 355bfc2c2c97c4f27faaf2fdf44c51cedea098bf /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 22a2f2e35f9c08c8572003d1e6d3f0e9ab968837 (diff) | |
| download | linux-40ac9b3eb09085dd729032ac5e1ea213068f34cc.tar.gz linux-40ac9b3eb09085dd729032ac5e1ea213068f34cc.zip | |
drm/i915: i915_pmu: Use sysfs_emit() instead of sprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
Signed-off-by: Madhur Kumar <madhurkumar004@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20250923195051.1277855-1-madhurkumar004@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
