diff options
Diffstat (limited to 'kernel/trace/trace_stack.c')
| -rw-r--r-- | kernel/trace/trace_stack.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index 0c1b165778e5..42ca822fc701 100644 --- a/kernel/trace/trace_stack.c +++ b/kernel/trace/trace_stack.c | |||
| @@ -33,7 +33,6 @@ static unsigned long max_stack_size; | |||
| 33 | static arch_spinlock_t max_stack_lock = | 33 | static arch_spinlock_t max_stack_lock = |
| 34 | (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; | 34 | (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; |
| 35 | 35 | ||
| 36 | static int stack_trace_disabled __read_mostly; | ||
| 37 | static DEFINE_PER_CPU(int, trace_active); | 36 | static DEFINE_PER_CPU(int, trace_active); |
| 38 | static DEFINE_MUTEX(stack_sysctl_mutex); | 37 | static DEFINE_MUTEX(stack_sysctl_mutex); |
| 39 | 38 | ||
| @@ -116,9 +115,6 @@ stack_trace_call(unsigned long ip, unsigned long parent_ip, | |||
| 116 | { | 115 | { |
| 117 | int cpu; | 116 | int cpu; |
| 118 | 117 | ||
| 119 | if (unlikely(!ftrace_enabled || stack_trace_disabled)) | ||
| 120 | return; | ||
| 121 | |||
| 122 | preempt_disable_notrace(); | 118 | preempt_disable_notrace(); |
| 123 | 119 | ||
| 124 | cpu = raw_smp_processor_id(); | 120 | cpu = raw_smp_processor_id(); |
