linux/kernel/trace
Frederic Weisbecker 2c2d7329d8 tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp()
Impact: prevent a trace recursion

After some tests with function graph tracer under x86-32, I saw some recursions
caused by ring_buffer_time_stamp() that calls preempt_enable_no_notrace() which
calls preempt_schedule() which is traced itself.

This patch re-enables preemption without rescheduling.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-17 00:26:35 +01:00
..
Kconfig x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
Makefile x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
ftrace.c tracing/function-graph-tracer: append the tracing_graph_flag 2008-12-08 15:11:45 +01:00
ring_buffer.c tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp() 2008-12-17 00:26:35 +01:00
trace.c x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
trace.h x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
trace_boot.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_branch.c ftrace: replace raw_local_irq_save with local_irq_save 2008-12-03 08:56:19 +01:00
trace_functions.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_functions_graph.c tracing/function-graph-tracer: Output arrows signal on hardirq call/return 2008-12-12 11:14:09 +01:00
trace_hw_branches.c x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
trace_irqsoff.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_mmiotrace.c tracing/function-graph-tracer: handle ftrace_printk entries 2008-12-04 10:18:39 +01:00
trace_nop.c tracing/ftrace: make nop tracer using tracer flags 2008-11-18 11:10:59 +01:00
trace_power.c tracing: add "power-tracer": C/P state tracer to help power optimization 2008-11-26 08:29:32 +01:00
trace_sched_switch.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_sched_wakeup.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_selftest.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_stack.c trace: fix output of stack trace 2008-12-03 17:15:02 +01:00
trace_sysprof.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00