Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf arm-spe: Update --itrace help text

The --itrace help now needs updating to reflect that
the --itrace=b argument sythesises 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-5-graham.woodward@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>

authored by

Graham Woodward and committed by
Namhyung Kim
35f5aa9c edff8dad

+3 -4
+1 -1
tools/perf/Documentation/itrace.txt
··· 1 1 i synthesize instructions events 2 2 y synthesize cycles events 3 - b synthesize branches events (branch misses for Arm SPE) 3 + b synthesize branches events 4 4 c synthesize branches events (calls only) 5 5 r synthesize branches events (returns only) 6 6 x synthesize transactions events
+1 -1
tools/perf/Documentation/perf-arm-spe.txt
··· 187 187 7 llc-access 188 188 2 tlb-miss 189 189 1K tlb-access 190 - 36 branch-miss 190 + 36 branch 191 191 0 remote-access 192 192 900 memory 193 193
+1 -2
tools/perf/util/auxtrace.h
··· 75 75 * (not fully accurate, since CYC packets are only emitted 76 76 * together with other events, such as branches) 77 77 * @branches: whether to synthesize 'branches' events 78 - * (branch misses only for Arm SPE) 79 78 * @transactions: whether to synthesize events for transactions 80 79 * @ptwrites: whether to synthesize events for ptwrites 81 80 * @pwr_events: whether to synthesize power events ··· 649 650 #define ITRACE_HELP \ 650 651 " i[period]: synthesize instructions events\n" \ 651 652 " y[period]: synthesize cycles events (same period as i)\n" \ 652 - " b: synthesize branches events (branch misses for Arm SPE)\n" \ 653 + " b: synthesize branches events\n" \ 653 654 " c: synthesize branches events (calls only)\n" \ 654 655 " r: synthesize branches events (returns only)\n" \ 655 656 " x: synthesize transactions events\n" \