Skip to content

Commit d4a98b4

Browse files
ahunter6acmel
authored andcommitted
perf script: Show also errors for --insn-trace option
The trace could be misleading if trace errors are not taken into account, so display them also by adding the itrace "e" option. Note --call-trace and --call-ret-trace already add the itrace "e" option. Fixes: b585ebd ("perf script: Add --insn-trace for instruction decoding") Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 36f65f9 commit d4a98b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-script.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3806,7 +3806,7 @@ static int parse_insn_trace(const struct option *opt __maybe_unused,
38063806
if (ret < 0)
38073807
return ret;
38083808

3809-
itrace_parse_synth_opts(opt, "i0ns", 0);
3809+
itrace_parse_synth_opts(opt, "i0nse", 0);
38103810
symbol_conf.nanosecs = true;
38113811
return 0;
38123812
}

0 commit comments

Comments
 (0)