diff options
| author | Arnd Bergmann <[email protected]> | 2023-01-31 09:36:30 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-03-10 03:17:06 +0000 |
| commit | aa69f814920d85a2d4cfd5c294757c3d59d2fba6 (patch) | |
| tree | 64af155445378b6b535a9b0e41fcfae3071848e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ftrace: Fix invalid address access in lookup_rec() when index is 0 (diff) | |
| download | kernel-aa69f814920d85a2d4cfd5c294757c3d59d2fba6.tar.gz kernel-aa69f814920d85a2d4cfd5c294757c3d59d2fba6.zip | |
ftrace,kcfi: Define ftrace_stub_graph conditionally
When CONFIG_FUNCTION_GRAPH_TRACER is disabled, __kcfi_typeid_ftrace_stub_graph
is missing, causing a link failure:
ld.lld: error: undefined symbol: __kcfi_typeid_ftrace_stub_graph
referenced by arch/x86/kernel/ftrace_64.o:(__cfi_ftrace_stub_graph) in archive vmlinux.a
Mark the reference to it as conditional on the same symbol, as
is done on arm64.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Peter Zijlstra <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Fixes: 883bbbffa5a4 ("ftrace,kcfi: Separate ftrace_stub() and ftrace_stub_graph()")
See-also: 2598ac6ec493 ("arm64: ftrace: Define ftrace_stub_graph only with FUNCTION_GRAPH_TRACER")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
