Re: [PATCH] scripts/decode_stacktrace: strip all base path prefixes

2020-07-22 Thread Jiri Slaby
On 21. 07. 20, 1:05, Andrew Morton wrote: > On Mon, 20 Jul 2020 09:44:29 +0200 Jiri Slaby wrote: > >> When addr2line returns more than one location, decode_stacktrace does >> not currently remove base path from the paths. So the result might look >> like (line wrapped here): >> ptrace_stop (incl

Re: [PATCH] scripts/decode_stacktrace: strip all base path prefixes

2020-07-20 Thread Andrew Morton
On Mon, 20 Jul 2020 09:44:29 +0200 Jiri Slaby wrote: > When addr2line returns more than one location, decode_stacktrace does > not currently remove base path from the paths. So the result might look > like (line wrapped here): > ptrace_stop (include/linux/freezer.h:57 > > /home/abuild/rpmbuild

[PATCH] scripts/decode_stacktrace: strip all base path prefixes

2020-07-20 Thread Jiri Slaby
When addr2line returns more than one location, decode_stacktrace does not currently remove base path from the paths. So the result might look like (line wrapped here): ptrace_stop (include/linux/freezer.h:57 /home/abuild/rpmbuild/BUILD/kernel-default-5.8.rc5/linux-5.8-rc5/linux-obj/../include/li