VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Steven Rostedt (VMware) <rostedt@goodmis.org> 2021-01-29 10:13:53 -0500 committer: Steven Rostedt (VMware) <rostedt@goodmis.org> 2021-01-29 15:07:32 -0500 commit: 7e0a9220467dbcfdc5bc62825724f3e52e50ab31 parent: 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04
Commit Summary:
fgraph: Initialize tracing_graph_pause at task creation
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/init/init_task.c b/init/init_task.c
index 8a992d73e6fb..3711cdaafed2 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -198,7 +198,8 @@ struct task_struct init_task
 	.lockdep_recursion = 0,
 #endif
 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
-	.ret_stack	= NULL,
+	.ret_stack		= NULL,
+	.tracing_graph_pause	= ATOMIC_INIT(0),
 #endif
 #if defined(CONFIG_TRACING) && defined(CONFIG_PREEMPTION)
 	.trace_recursion = 0,