aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-07-10 23:51:14 +0000
committerNamhyung Kim <[email protected]>2025-07-11 19:36:39 +0000
commit28f5aa8184c9c9b8eab35fa3884c416fe75e88e4 (patch)
treeb1fbdc2565463fa9c779a46ce57161d65187567a /tools/perf/builtin-script.c
parentperf tests bp_account: Fix leaked file descriptor (diff)
downloadkernel-28f5aa8184c9c9b8eab35fa3884c416fe75e88e4.tar.gz
kernel-28f5aa8184c9c9b8eab35fa3884c416fe75e88e4.zip
perf hwmon_pmu: Avoid shortening hwmon PMU name
Long names like ucsi_source_psy_USBC000:001 when prefixed with hwmon_ exceed the buffer size and the last digit is lost. This causes confusion with similar names like ucsi_source_psy_USBC000:002. Extend the buffer size to avoid this. Fixes: 53cc0b351ec9 ("perf hwmon_pmu: Add a tool PMU exposing events from hwmon in sysfs") Signed-off-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions