Skip to content

Commit b30c9b1

Browse files
ahunter6gregkh
authored andcommitted
perf script: Show also errors for --insn-trace option
[ Upstream commit d4a98b4 ] 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 <ak@linux.intel.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240315071334.3478-1-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 0ea11a1 commit b30c9b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/builtin-script.c

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

3786-
itrace_parse_synth_opts(opt, "i0ns", 0);
3786+
itrace_parse_synth_opts(opt, "i0nse", 0);
37873787
symbol_conf.nanosecs = true;
37883788
return 0;
37893789
}

0 commit comments

Comments
 (0)