perf arm-spe: Use ARM_SPE_OP_BRANCH_ERET when synthesizing branches
authorGraham Woodward <graham.woodward@arm.com>
Fri, 25 Oct 2024 14:30:07 +0000 (15:30 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 29 Oct 2024 23:10:10 +0000 (16:10 -0700)
commitc1b67c85108f99af0a80aa9e59a2b94ad95428d7
tree23f842401231af01020ce1b95c1499de99e94e92
parent19966d792b9e6b055aeb2f0e573b4d4573d5e15b
perf arm-spe: Use ARM_SPE_OP_BRANCH_ERET when synthesizing branches

Instead of checking the type for just branch misses, we can instead
check for the OP_BRANCH_ERET and synthesise branches as well as
branch misses.

Signed-off-by: Graham Woodward <graham.woodward@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: Leo Yan <leo.yan@arm.com>
Cc: nd@arm.com
Cc: mike.leach@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20241025143009.25419-3-graham.woodward@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/arm-spe.c