]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fgragh: No need to invoke the function call_filter_check_discard()
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Oct 2024 23:40:20 +0000 (19:40 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 10 Oct 2024 23:49:41 +0000 (19:49 -0400)
commitc73eb02a4781aee53ee4122132967356361e4f1a
treef31448f7cc30e26cd057ac68c54fce4c7ecc780f
parent0a6c61bc9c636e9a32d9f5a4d6d3b031d08763ab
fgragh: No need to invoke the function call_filter_check_discard()

The function call_filter_check_discard() has been removed in the
commit 49e4154f4b16 ("tracing: Remove TRACE_EVENT_FL_FILTERED logic"),
from another topic branch. But when merged together with commit
21e92806d39c6 ("function_graph: Support recording and printing the
function return address") which added another call to
call_filter_check_discard(), it caused the build to fail. Since the
function call_filter_check_discard() is useless, it can simply be removed
regardless of being merged with commit 49e4154f4b16 or not.

Link: https://lore.kernel.org/all/20241010134649.43ed357c@canb.auug.org.au/
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Donglin Peng <dolinux.peng@gmail.com>
Link: https://lore.kernel.org/20241010194020.46192b21@gandalf.local.home
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 21e92806d39c6 ("function_graph: Support recording and printing the function return address")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_functions_graph.c