[PATCH v3 0/4] perf tools: Add support for some spe events and precise ip

From: James Clark
Date: Fri Feb 07 2020 - 10:22:47 EST


Hi Jirka,

Thanks for the feedback. I've made the following changes:

Removed the arm_spe_synth_opts struct and added the new types into
itrace_synth_opts. I could re-use branch but the other ones are new.
And the --trace argument documentation has been updated accordingly.

I've removed the processing of the evlist from perf_evlist__splice_list_tail
and put it in a weak function "auxtrace__preprocess_evlist" that is
only built on Arm.

For the 2 patches about the hang on termination, I have removed them
because I haven't been able to reproduce it and everything is working
ok for me. @Wei Li, are you able to post steps required to reproduce?

Thanks
James

Cc: Will Deacon <will@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Tan Xiaojun <tanxiaojun@xxxxxxxxxx>
Cc: Al Grant <al.grant@xxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>

Tan Xiaojun (4):
perf tools: Move arm-spe-pkt-decoder.h/c to the new dir
perf tools: Add support for "report" for some spe events
perf report: Add SPE options to --itrace argument
perf tools: Support "branch-misses:pp" on arm64

tools/perf/Documentation/itrace.txt | 5 +-
tools/perf/arch/arm/util/auxtrace.c | 38 +
tools/perf/builtin-record.c | 5 +
tools/perf/util/Build | 2 +-
tools/perf/util/arm-spe-decoder/Build | 1 +
.../util/arm-spe-decoder/arm-spe-decoder.c | 225 ++++++
.../util/arm-spe-decoder/arm-spe-decoder.h | 66 ++
.../arm-spe-pkt-decoder.c | 0
.../arm-spe-pkt-decoder.h | 2 +
tools/perf/util/arm-spe.c | 756 +++++++++++++++++-
tools/perf/util/arm-spe.h | 3 +
tools/perf/util/auxtrace.c | 13 +
tools/perf/util/auxtrace.h | 14 +-
tools/perf/util/evlist.c | 1 +
tools/perf/util/evsel.h | 1 -
15 files changed, 1090 insertions(+), 42 deletions(-)
create mode 100644 tools/perf/util/arm-spe-decoder/Build
create mode 100644 tools/perf/util/arm-spe-decoder/arm-spe-decoder.c
create mode 100644 tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
rename tools/perf/util/{ => arm-spe-decoder}/arm-spe-pkt-decoder.c (100%)
rename tools/perf/util/{ => arm-spe-decoder}/arm-spe-pkt-decoder.h (96%)

--
2.17.1