aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/annotate-data.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2024-08-09 14:32:45 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-08-09 20:37:03 +0000
commit13d675aea6cac5bb4619ef9e3fdd90129fe6d139 (patch)
treef171f604c20634a91ad4cb935c6998c97f8bc9f7 /tools/perf/ui/browsers/annotate-data.c
parentperf script python: Add the 'ins_lat' field to event handler (diff)
downloadkernel-13d675aea6cac5bb4619ef9e3fdd90129fe6d139.tar.gz
kernel-13d675aea6cac5bb4619ef9e3fdd90129fe6d139.zip
perf debuginfo: Fix the build with !HAVE_DWARF_SUPPORT
In that case we have a set of placeholder functions, one of them uses a 'Dwarf_Addr' type that is not present as it is defined in the missing DWARF libraries, so provide a placeholder typedef for that as well. The build error before this patch: In file included from util/annotate.c:28: util/debuginfo.h:44:46: error: unknown type name ‘Dwarf_Addr’ 44 | Dwarf_Addr *offs __maybe_unused, | ^~~~~~~~~~ make[6]: *** [/home/acme/git/perf-tools-next/tools/build/Makefile.build:106: util/annotate.o] Error 1 make[6]: *** Waiting for unfinished jobs.... Acked-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Link: https://lore.kernel.org/lkml/CAM9d7ciushSwEfj7yW4rtDEJBTcCB991V4cswwFEL+cv6QF2pg@mail.gmail.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate-data.c')
0 files changed, 0 insertions, 0 deletions