]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Fix function timing profiler to initialize hashtable
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sun, 18 Aug 2024 12:50:28 +0000 (21:50 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 30 Sep 2024 15:12:46 +0000 (11:12 -0400)
commitc54a1a06daa78613519b4d24495b0d175b8af63f
tree690b15f42c04c629888e671d27a9510e3b471d95
parent9852d85ec9d492ebef56dc5f229416c925758edc
tracing: Fix function timing profiler to initialize hashtable

Since the new fgraph requires to initialize fgraph_ops.ops.func_hash before
calling register_ftrace_graph(), initialize it with default (tracing all
functions) parameter.

Cc: stable@vger.kernel.org
Fixes: 5fccc7552ccb ("ftrace: Add subops logic to allow one ops to manage many")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ftrace.c