Re: ftrace_direct_func_count ?

2024-05-06 Thread Dr. David Alan Gilbert
code, but while at it I noticed the global > > 'ftrace_direct_func_count'. > > > > As far as I can tell, it's never assigned (or initialised) but it is tested: > > > > kernel/trace/fgraph.c: > > #ifndef CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS > > /* > >* Sk

Re: ftrace_direct_func_count ?

2024-05-06 Thread Steven Rostedt
On Sat, 4 May 2024 13:35:26 + "Dr. David Alan Gilbert" wrote: > Hi, > I've just posted a patch 'ftrace: Remove unused list 'ftrace_direct_funcs'' > that clears out some old code, but while at it I noticed the global > 'ftrace_direct_func_count'. > > As f

ftrace_direct_func_count ?

2024-05-04 Thread Dr. David Alan Gilbert
Hi, I've just posted a patch 'ftrace: Remove unused list 'ftrace_direct_funcs'' that clears out some old code, but while at it I noticed the global 'ftrace_direct_func_count'. As far as I can tell, it's never assigned (or initialised) but it is tested: kernel/trace/fgraph.c: #ifndef