diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-07-21 17:53:45 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-07-31 17:06:44 +0530 |
| commit | 86bb4d74da626064136d30367d1b35372b8320fb (patch) | |
| tree | 4bc716c3ef390efe0e97fcc812ca8e8632838957 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a2144b13a6ec01e2298c88548af2e3f6d1163de6 (diff) | |
powerpc/powernv: Avoid strlen() in pnv_restart()
Check only the first byte instead of scanning the entire string with
strlen().
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260721155346.121975-3-thorsten.blum@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
