aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-03 02:49:21 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-03 02:49:21 -0500
commitf0461d0146ee30927bc7efa2ae24ea8c6693b725 (patch)
tree6a6b416c76c0e1a569af5531454fb45fe06e07ba /kernel/trace
parent66eafebc1086014709dc38f52ddcb3d67d9b346c (diff)
parent48d68b20d00865035b8b65e69af343d0f53fac9d (diff)
Merge branches 'tracing/ftrace' and 'tracing/function-graph-tracer' into tracing/core
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/ftrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 6d89ab46c6e3..2e78628443e8 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -1671,8 +1671,10 @@ static int alloc_retstack_tasklist(struct ftrace_ret_stack **ret_stack_list)
1671 } 1671 }
1672 1672
1673 if (t->ret_stack == NULL) { 1673 if (t->ret_stack == NULL) {
1674 t->ret_stack = ret_stack_list[start++];
1675 t->curr_ret_stack = -1; 1674 t->curr_ret_stack = -1;
1675 /* Make sure IRQs see the -1 first: */
1676 barrier();
1677 t->ret_stack = ret_stack_list[start++];
1676 atomic_set(&t->trace_overrun, 0); 1678 atomic_set(&t->trace_overrun, 0);
1677 } 1679 }
1678 } while_each_thread(g, t); 1680 } while_each_thread(g, t);