-
- Downloads
tracing/function-graph-tracer: append the tracing_graph_flag
Impact: Provide a way to pause the function graph tracer As suggested by Steven Rostedt, the previous patch that prevented from spinlock function tracing shouldn't use the raw_spinlock to fix it. It's much better to follow lockdep with normal spinlock, so this patch adds a new flag for each task to make the function graph tracer able to be paused. We also can send an ftrace_printk whithout worrying of the irrelevant traced spinlock during insertion. Signed-off-by:Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/kernel/ftrace.c 4 additions, 1 deletionarch/x86/kernel/ftrace.c
- include/linux/ftrace.h 13 additions, 0 deletionsinclude/linux/ftrace.h
- include/linux/sched.h 2 additions, 0 deletionsinclude/linux/sched.h
- kernel/trace/ftrace.c 2 additions, 0 deletionskernel/trace/ftrace.c
- kernel/trace/trace.c 5 additions, 13 deletionskernel/trace/trace.c
Loading
Please register or sign in to comment