summaryrefslogtreecommitdiff
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-11-03 14:50:15 -0500
committerSteven Rostedt <rostedt@goodmis.org>2015-11-03 14:50:15 -0500
commitd332736df0c277905de06311ae084e2c76580a3f (patch)
tree9cfa8234b9ce54d306a3c4c4c474f31c839ffc82 /include/linux/ftrace.h
parentbb99d8ccec7f83a2730a29d1ae7eee5ffa446a9e (diff)
downloadlwn-d332736df0c277905de06311ae084e2c76580a3f.tar.gz
lwn-d332736df0c277905de06311ae084e2c76580a3f.zip
tracing: Rename max_stack_lock to stack_trace_max_lock
Now that max_stack_lock is a global variable, it requires a naming convention that is unlikely to collide. Rename it to the same naming convention that the other stack_trace variables have. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index b4c92ab9e08b..eae6548efbf0 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -271,7 +271,7 @@ struct stack_trace;
extern unsigned stack_trace_index[];
extern struct stack_trace stack_trace_max;
extern unsigned long stack_trace_max_size;
-extern arch_spinlock_t max_stack_lock;
+extern arch_spinlock_t stack_trace_max_lock;
extern int stack_tracer_enabled;
void stack_trace_print(void);