aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2022-11-30 16:51:58 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-12-05 12:29:14 +0000
commit20ed9fa4965875fdde5bfd65d838465e38d46b22 (patch)
tree90674d1a7fb30a59e888c49c76a065f9161d608d /tools/perf/builtin-annotate.c
parentperf tools: Use dedicated non-atomic clear/set bit helpers (diff)
downloadkernel-20ed9fa4965875fdde5bfd65d838465e38d46b22.tar.gz
kernel-20ed9fa4965875fdde5bfd65d838465e38d46b22.zip
perf branch: Fix interpretation of branch records
Commit 93315e46b000fc80 ("perf/core: Add speculation info to branch entries") added a new field in between type and new_type. Perf has its own copy of this struct so update it to match the kernel side. This doesn't currently cause any issues because new_type is only used by the Arm BRBE driver which isn't merged yet. Committer notes: Is this really an ABI? How are we supposed to deal with old perf.data files with new tools and vice versa? :-\ Fixes: 93315e46b000fc80 ("perf/core: Add speculation info to branch entries") Reviewed-by: Anshuman Khandual <[email protected]> Signed-off-by: James Clark <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sandipan Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions