Re: [PATCH v1 0/4] perf arm-spe: Allow synthesizing of branch

From: James Clark
Date: Mon Oct 28 2024 - 04:34:54 EST




On 25/10/2024 3:30 pm, Graham Woodward wrote:
Currently the --itrace=b will only show branch-misses but this change
allows perf to synthesize branches as well.

The change also incorporates the ability to display the target
addresses when specifying the addr field if the instruction is a branch.

Graham Woodward (4):
perf arm-spe: Set sample.addr to target address for instruction sample
perf arm-spe: Use ARM_SPE_OP_BRANCH_ERET when synthesizing branches
perf arm-spe: Correctly set sample flags
perf arm-spe: Update --itrace help text

tools/perf/Documentation/itrace.txt | 2 +-
tools/perf/Documentation/perf-arm-spe.txt | 2 +-
tools/perf/builtin-script.c | 1 +
tools/perf/util/arm-spe.c | 31 ++++++++++++++++++-----
tools/perf/util/auxtrace.h | 3 +--
tools/perf/util/event.h | 1 +
6 files changed, 29 insertions(+), 11 deletions(-)


Don't forget to pickup the review tags from the previous versions. If you use the b4 tool it does it automatically:

Reviewed-by: James Clark <james.clark@xxxxxxxxxx>