aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:21:15 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 16:34:56 -0400
commit74f4e369fc5b52433ad824cef32d3bf1304549be (patch)
treec70d073a2740821f52d8b2b09f01626a06201e74 /kernel/trace/trace.c
parent5b82a1b08a00b2adca3d9dd9777efff40b7aaaa1 (diff)
ftrace: stacktrace fix
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 2824cf48cdca..3271916ff033 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -901,7 +901,7 @@ tracing_sched_switch_trace(struct trace_array *tr,
901 entry->ctx.next_pid = next->pid; 901 entry->ctx.next_pid = next->pid;
902 entry->ctx.next_prio = next->prio; 902 entry->ctx.next_prio = next->prio;
903 entry->ctx.next_state = next->state; 903 entry->ctx.next_state = next->state;
904 __trace_stack(tr, data, flags, 4); 904 __trace_stack(tr, data, flags, 5);
905 __raw_spin_unlock(&data->lock); 905 __raw_spin_unlock(&data->lock);
906 raw_local_irq_restore(irq_flags); 906 raw_local_irq_restore(irq_flags);
907} 907}
@@ -927,7 +927,7 @@ tracing_sched_wakeup_trace(struct trace_array *tr,
927 entry->ctx.next_pid = wakee->pid; 927 entry->ctx.next_pid = wakee->pid;
928 entry->ctx.next_prio = wakee->prio; 928 entry->ctx.next_prio = wakee->prio;
929 entry->ctx.next_state = wakee->state; 929 entry->ctx.next_state = wakee->state;
930 __trace_stack(tr, data, flags, 5); 930 __trace_stack(tr, data, flags, 6);
931 __raw_spin_unlock(&data->lock); 931 __raw_spin_unlock(&data->lock);
932 raw_local_irq_restore(irq_flags); 932 raw_local_irq_restore(irq_flags);
933 933