]> Git Repo - linux.git/commit
ftrace: cleanup ftrace_graph_caller enable and disable
authorChengming Zhou <[email protected]>
Wed, 20 Apr 2022 16:00:05 +0000 (00:00 +0800)
committerCatalin Marinas <[email protected]>
Fri, 29 Apr 2022 18:21:12 +0000 (19:21 +0100)
commite999995c84c3abb6dcae83f8c35942a8d4ee0451
treecd20ed9cf9041dec9965695f45520e786eea9f9c
parentb2d229d4ddb17db541098b83524d901257e93845
ftrace: cleanup ftrace_graph_caller enable and disable

The ftrace_[enable,disable]_ftrace_graph_caller() are used to do
special hooks for graph tracer, which are not needed on some ARCHs
that use graph_ops:func function to install return_hooker.

So introduce the weak version in ftrace core code to cleanup
in x86.

Signed-off-by: Chengming Zhou <[email protected]>
Acked-by: Steven Rostedt (Google) <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
arch/x86/kernel/ftrace.c
kernel/trace/fgraph.c
This page took 0.049504 seconds and 4 git commands to generate.