Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pahole: Check if the sole arg is a file, not considering it a type if so
Before we would have: $ gcc x.c -Wall -ggdb3 $ strip -s a.out $ pahole ./a.out $ I.e. no types, no output. Then when we started trying out the sole arg as a type to lookup either on a vmlinux found via its build id in /sys/kernel/notes or /sys/kernel/btf/vmlinux we instead showed this for a binary without type info: $ pahole ./a.out pahole: type './a.out' not found $ Now we show: $ pahole a.out pahole: file 'a.out' has no supported type information. $ Reported-by: Jan Engelhardt <[email protected]> Bugtracker: #14 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
- Loading branch information