Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1486785
| From | Josh Poimboeuf <jpoimboe@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] scripts: add script for translating stack dump function |
| Date | 2016-09-19 21:30 +0200 |
| Message-ID | <sjcql-149-17@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <sibZn-3MK-5@gated-at.bofh.it> <sid57-4pC-5@gated-at.bofh.it> <sj998-7ii-23@gated-at.bofh.it> <sjbXj-EM-15@gated-at.bofh.it> <sjcgG-10E-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Sep 19, 2016 at 12:15:42PM -0700, Linus Torvalds wrote: > On Mon, Sep 19, 2016 at 11:56 AM, Linus Torvalds > <torvalds@linux-foundation.org> wrote: > >> > >> The only working (and fast) approach I could come up with was an ugly > >> hack. It assumes that start_kernel() is in init/main.c. > > > > That sounds entirely reasonable. Maybe somebody can come up with a > > better and more general approach, but that sounds like a fine starting > > point, and any incremental improvents can happen in the tree. So I'll > > apply your patch (assuming it passes my basic testing, which I expect > > it will). > > Hmm. Would you mind if I change the > > addr2line -fpie $objfile $hexaddr | sed "s;$dir_prefix;;" > > into > > addr2line -fpie $objfile $hexaddr | > sed "s; at $dir_prefix\(\./\)*; at ;" > > instead? There's two changes there: matching the " at " part (to just > make the match stricter) but also matching any following "./" thing > (which shows up for our include tree files, at least for me). > > With that, all the cases I threw at it looked pretty good. > > But the stricter matching might not matter, of course, and maybe there > is some addr2line version that doesn't do that? So I'm checking here.. For some reason, I don't see the "./" for my include files. But regardless, your changes look good to me. -- Josh
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
perf: perf_fuzzer lockup in perf_cgroup_attach Vince Weaver <vincent.weaver@maine.edu> - 2016-09-15 04:50 +0200
Re: perf: perf_fuzzer lockup in perf_cgroup_attach Stephane Eranian <eranian@google.com> - 2016-09-15 07:40 +0200
Re: perf: perf_fuzzer lockup in perf_cgroup_attach Peter Zijlstra <peterz@infradead.org> - 2016-09-15 09:30 +0200
Re: perf: perf_fuzzer lockup in perf_cgroup_attach Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-15 14:20 +0200
[PATCH] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-16 16:50 +0200
Re: [PATCH] scripts: add script for translating stack dump function offsets Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-16 20:20 +0200
Re: [PATCH] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-16 21:20 +0200
Re: [PATCH] scripts: add script for translating stack dump function offsets Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-16 21:30 +0200
[PATCH v2] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-16 23:30 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-17 02:10 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-17 02:50 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-17 04:00 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-17 04:40 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-17 20:50 +0200
[PATCH v3] scripts: add script for translating stack dump function Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-19 18:00 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-19 21:00 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-19 21:20 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-19 21:30 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Rabin Vincent <rabin@rab.in> - 2016-09-19 22:10 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-19 22:30 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-19 23:00 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-19 23:10 +0200
Re: [PATCH v3] scripts: add script for translating stack dump function Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-19 23:10 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Peter Zijlstra <peterz@infradead.org> - 2016-09-17 03:30 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Rabin Vincent <rabin@rab.in> - 2016-09-17 10:20 +0200
Re: [PATCH v2] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-17 20:50 +0200
Re: [PATCH] scripts: add script for translating stack dump function offsets Vegard Nossum <vegard.nossum@gmail.com> - 2016-09-17 11:20 +0200
Re: [PATCH] scripts: add script for translating stack dump function offsets Josh Poimboeuf <jpoimboe@redhat.com> - 2016-09-17 21:00 +0200
Re: perf: perf_fuzzer lockup in perf_cgroup_attach Vince Weaver <vincent.weaver@maine.edu> - 2016-09-15 14:50 +0200
Re: perf: perf_fuzzer lockup in perf_cgroup_attach Peter Zijlstra <peterz@infradead.org> - 2016-09-15 09:20 +0200
Re: perf: perf_fuzzer lockup in perf_cgroup_attach Vince Weaver <vincent.weaver@maine.edu> - 2016-09-15 14:50 +0200
csiph-web