Skip to content

ftrace: Minor fixes for sparse and kernel test robot

Steven Rostedt linux-trace-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ftrace: Declare function_trace_op in header to quiet sparse warninginclude/linux/ftrace.h+3 -00 replies
2/6ftrace: Assign ftrace_list_end to ftrace_ops_list type cast to RCUkernel/trace/ftrace.c+1 -10 replies
3/6ftrace: Assign RCU list variable with rcu_assign_ptr()kernel/trace/ftrace.c+1 -10 replies
4/6ftrace: Fix prototypes for ftrace_startup/shutdown_subops()kernel/trace/ftrace_internal.h kernel/trace/trace.h+9 -10 replies
5/6function_graph: Make fgraph_do_direct static key statickernel/trace/fgraph.c+1 -10 replies
6/6function_graph: Do not update pid func if CONFIG_DYNAMIC_FTRACE not enabledkernel/trace/fgraph.c+2 -00 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMasami Hiramatsu (Google)
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] ftrace: Minor fixes for sparse and kernel test robot

Recieved some minor bug reports from the kernel test robot. First I started cleaning up some of the sparse warnings. There's many more, but most changes are not really helping anything, but just quieting the warnings.

But the reports from kernel test robot need to be fixed.

Steven Rostedt (Google) (6):
ftrace: Declare function_trace_op in header to quiet sparse warning
ftrace: Assign ftrace_list_end to ftrace_ops_list type cast to RCU
ftrace: Assign RCU list variable with rcu_assign_ptr()
ftrace: Fix prototypes for ftrace_startup/shutdown_subops()
function_graph: Make fgraph_do_direct static key static
function_graph: Do not update pid func if CONFIG_DYNAMIC_FTRACE not enabled

----

 include/linux/ftrace.h         | 3 +++
 kernel/trace/fgraph.c          | 4 +++-
 kernel/trace/ftrace.c          | 4 ++--
 kernel/trace/ftrace_internal.h | 9 +++++++++
 kernel/trace/trace.h           | 1 -
 5 files changed, 17 insertions(+), 4 deletions(-)