aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorAndres Freund <[email protected]>2022-08-01 01:38:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-08-01 18:29:49 +0000
commita45b3d6926231c3d024ea0de4f7bd967f83709ee (patch)
tree622a696aa44a55462298caf0887795b7d1e4852c /tools/perf/util/annotate.c
parenttools build: Don't display disassembler-four-args feature test (diff)
downloadkernel-a45b3d6926231c3d024ea0de4f7bd967f83709ee.tar.gz
kernel-a45b3d6926231c3d024ea0de4f7bd967f83709ee.zip
tools include: add dis-asm-compat.h to handle version differences
binutils changed the signature of init_disassemble_info(), which now causes compilation failures for tools/{perf,bpf}, e.g. on debian unstable. Relevant binutils commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=60a3da00bd5407f07 This commit introduces a wrapper for init_disassemble_info(), to avoid spreading #ifdef DISASM_INIT_STYLED to a bunch of places. Subsequent commits will use it to fix the build failures. It likely is worth adding a wrapper for disassember(), to avoid the already existing DISASM_FOUR_ARGS_SIGNATURE ifdefery. Signed-off-by: Andres Freund <[email protected]> Signed-off-by: Ben Hutchings <[email protected]> Acked-by: Quentin Monnet <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Ben Hutchings <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Quentin Monnet <[email protected]> Cc: Sedat Dilek <[email protected]> Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions