diff options
author | Ian Rogers <[email protected]> | 2019-10-10 11:36:48 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-15 08:39:42 -0300 |
commit | b34b45eef16d814a93a52f2e76db803bb38939a0 (patch) | |
tree | 2388e094c0cc7a0e927d1f4d4d20c061c89fb011 /scripts/gdb/linux/device.py | |
parent | 7a675de428364a16038a8e6ed557daf0a009ce9c (diff) |
perf annotate: Don't pipe objdump output through 'expand' command
Avoiding a pipe allows objdump command failures to surface. Move to the
caller of symbol__parse_objdump_line the call to strim that removes
leading and trailing tabs. Add a new expand_tabs function that if a tab
is present allocate a new line in which tabs are expanded. In
symbol__parse_objdump_line the line had no leading spaces, so simplify
the line_ip processing.
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions