]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/faddr2line: make the new code listing format optional
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Mon, 4 Jun 2018 18:48:31 +0000 (13:48 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Jun 2018 16:04:37 +0000 (09:04 -0700)
commit68216b1de91c008b2b0f502327428c051b64c9e5
tree7dd2a007d4672ba43cf427c55c5f9ab81336c4c9
parentd618df40a378cfa3ecd4741315a7498707cc3c0f
scripts/faddr2line: make the new code listing format optional

Commit 73f386c635e418 ("scripts/faddr2line: show the code context")
radically altered the output format of the faddr2line tool.  And while
the new list output format might have merit it broke my vim usage and
was hard to read.

Make the new format optional; using a '--list' argument and attempt to
make the output slightly easier to read by adding a little whitespace to
separate the different files and explicitly mark the line in question.

Cc: Changbin Du <changbin.du@intel.com>
Fixes: 73f386c635e418 ("scripts/faddr2line: show the code context")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/faddr2line