Re: [PATCH] ftrace: Show subops in enabled_functions
From: Steven Rostedt
Date: Thu Apr 10 2025 - 15:27:45 EST
On Thu, 10 Apr 2025 23:45:45 +0800
kernel test robot <lkp@xxxxxxxxx> wrote:
> >> kernel/trace/ftrace.c:4342:11: error: incomplete definition of type 'struct fgraph_ops'
> 4342 | gops = container_of(subops, struct fgraph_ops, ops);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks,
This code needs a "#ifdef CONFIG_FUNCTION_GRAPH_TRACER" wrapper.
-- Steve