perf tools fixes for v6.5: 3rd batch

- Revert a patch that unconditionally resolved addresses to inlines in
  callchains, something that was done before when DWARF mode was asked
  for, but could as well be done when just frame pointers (the default)
  was selected. This enriches the callchains with inlines but the way to
  resolve it is gross right now, relying on addr2line, and even if we come
  up with an efficient way of processing all the associated DWARF info for
  a big file as vmlinux is, this has to be something people opt-in, as it
  will still result in overheads, so revert it until we get this done in a
  saner way.

- Update the x86 msr-index.h header with the kernel original, no change
  in tooling output, just addresses a tools/perf build warning.

- Resolve a regression where special "tool events", such as
  "duration_time" were being presented for all CPUs, when it only makes
  sense to show it for the workload, that is, just once.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf stat: Don't display zero tool counts

Andi reported (see link below) a regression when printing the
'duration_time' tool event, where it gets printed as "not counted" for
most of the CPUs, fix it by skipping zero counts for tool events.

Reported-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Andi Kleen <ak@linux.intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Claire Jensen <cjense@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/all/ZMlrzcVrVi1lTDmn@tassilo/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 file changed