diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-03-14 17:07:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-03-14 17:07:54 -0700 |
commit | 29db00c252c7d0e015f3b436647b6f87d5854833 (patch) | |
tree | 62cbe636e5d2ca14a69abcfd46a86670d27442f7 /arch/x86 | |
parent | ed38ff164fba98a21993c95d240013f32309ccab (diff) | |
parent | c2679254b9c9980d9045f0f722cf093a2b1f7590 (diff) | |
download | linux-stable-29db00c252c7d0e015f3b436647b6f87d5854833.tar.gz linux-stable-29db00c252c7d0e015f3b436647b6f87d5854833.tar.bz2 linux-stable-29db00c252c7d0e015f3b436647b6f87d5854833.zip |
Merge tag 'trace-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt:
- Do not allow histogram values to have modifies. They can cause a NULL
pointer dereference if they do.
- Warn if hist_field_name() is passed a NULL. Prevent the NULL pointer
dereference mentioned above.
- Fix invalid address look up race in lookup_rec()
- Define ftrace_stub_graph conditionally to prevent linker errors
- Always check if RCU is watching at all tracepoint locations
* tag 'trace-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing: Make tracepoint lockdep check actually test something
ftrace,kcfi: Define ftrace_stub_graph conditionally
ftrace: Fix invalid address access in lookup_rec() when index is 0
tracing: Check field value in hist_field_name()
tracing: Do not let histogram values have some modifiers
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/ftrace_64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/ftrace_64.S b/arch/x86/kernel/ftrace_64.S index 1265ad519249..fb4f1e01b64a 100644 --- a/arch/x86/kernel/ftrace_64.S +++ b/arch/x86/kernel/ftrace_64.S @@ -136,10 +136,12 @@ SYM_TYPED_FUNC_START(ftrace_stub) RET SYM_FUNC_END(ftrace_stub) +#ifdef CONFIG_FUNCTION_GRAPH_TRACER SYM_TYPED_FUNC_START(ftrace_stub_graph) CALL_DEPTH_ACCOUNT RET SYM_FUNC_END(ftrace_stub_graph) +#endif #ifdef CONFIG_DYNAMIC_FTRACE |