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

Commit 6870c0165feaa5 ("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: 6870c0165feaa5 ("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