mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
perf script: Show also errors for --insn-trace option
commitd4a98b45fb
upstream. 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:b585ebdb59
("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ccda2b0ad
commit
fad7edbd7f
1 changed files with 1 additions and 1 deletions
|
@ -3806,7 +3806,7 @@ static int parse_insn_trace(const struct option *opt __maybe_unused,
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
itrace_parse_synth_opts(opt, "i0ns", 0);
|
||||
itrace_parse_synth_opts(opt, "i0nse", 0);
|
||||
symbol_conf.nanosecs = true;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue