aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/signal.c
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2024-10-01 12:36:25 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-10-02 21:21:49 +0000
commit008979cc6911987152eb7485943c85b9c92c1e9b (patch)
treec9a5838bb60eaef37067c4884c369c257c96516e /rust/helpers/signal.c
parenttools headers arm64: Sync arm64's cputype.h with the kernel sources (diff)
downloadkernel-008979cc6911987152eb7485943c85b9c92c1e9b.tar.gz
kernel-008979cc6911987152eb7485943c85b9c92c1e9b.zip
perf dwarf-aux: Fix build with !HAVE_DWARF_GETLOCATIONS_SUPPORT
The linked fixes commit added an #include "dwarf-aux.h" to disasm.h which gets picked up in a lot of places. Without HAVE_DWARF_GETLOCATIONS_SUPPORT the stubs return an errno, so include errno.h to fix the following build error: In file included from util/disasm.h:8, from util/annotate.h:16, from builtin-top.c:23: util/dwarf-aux.h: In function 'die_get_var_range': util/dwarf-aux.h:183:10: error: 'ENOTSUP' undeclared (first use in this function) 183 | return -ENOTSUP; | ^~~~~~~ Fixes: 782959ac248ac3cb ("perf annotate: Add "update_insn_state" callback function to handle arch specific instruction tracking") Signed-off-by: James Clark <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Athira Rajeev <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions