]> 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)
commit9bde2082bbc48f310ed2e14c1329c4c5514ed913
tree7dd2a007d4672ba43cf427c55c5f9ab81336c4c9
parentcbe5cf6c12a702bb61d930a5ea6850606f262fb2
scripts/faddr2line: make the new code listing format optional

Commit 14913018793d09 ("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: 14913018793d09 ("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