summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-07-01 13:44:28 +0200
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-07-31 17:04:10 +0530
commitb6cfbfd6b2992e3f34d255c983dc9f20ef0f5cd8 (patch)
treedde730cb6f560a045aaf26231d7cd4a463fefbb7 /tools/perf/scripts/python/bin
parent351496d6aea664f25cbd6411bf5567210328e419 (diff)
powerpc/dt_cpu_ftrs: Avoid separate strlen() in scan_callback()
Check only the first byte instead of scanning the entire string with strlen(). While at it, keep dt_cpu_name static, but move it into dt_cpu_ftrs_scan_callback(), where it is assigned. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260701114428.818748-3-thorsten.blum@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions