diff options
author | Ian Rogers <[email protected]> | 2019-10-10 11:36:46 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-15 08:39:01 -0300 |
commit | 4235949944d1bb244c85fd184cdc2f78e9df848b (patch) | |
tree | 2fc8450f7a72b813de3328e4724889cf6f94acf5 /scripts/gdb/linux/device.py | |
parent | 353dcaa2f979a04f9397306ae3165ccf9fc731df (diff) |
perf annotate: Use libsubcmd's run-command.h to fork objdump
Reduce duplicated logic by using the subcmd library. Ensure when errors
occur they are reported to the caller. Before this patch, if no lines
are read the error status is 0.
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]
Link: http://lore.kernel.org/lkml/[email protected]
[ merged follow up fix for NULL termination as in the 2nd link above ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions