summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-01-09 08:14:02 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2023-01-11 23:36:46 +0300
commit1878787797cbb019eeefe6f905514dcd557302b6 (patch)
treeba398c597e668ec91e13312964d4d329b2fd35f7 /tools/perf/scripts/python/task-analyzer.py
parente07f68d5e4f4d7570b065b5bdf4729268c9985ba (diff)
downloadlinux-1878787797cbb019eeefe6f905514dcd557302b6.tar.xz
alpha/boot/tools/objstrip: fix the check for ELF header
Just memcmp() with ELFMAG - that's the normal way to do it in userland code, which that thing is. Besides, that has the benefit of actually building - str_has_prefix() is *NOT* present in <string.h>. Fixes: 5f14596e55de "alpha: Replace strncmp with str_has_prefix" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions