|
@@ -33,7 +33,6 @@ static unsigned long max_stack_size;
|
|
|
static arch_spinlock_t max_stack_lock =
|
|
|
(arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED;
|
|
|
|
|
|
-static int stack_trace_disabled __read_mostly;
|
|
|
static DEFINE_PER_CPU(int, trace_active);
|
|
|
static DEFINE_MUTEX(stack_sysctl_mutex);
|
|
|
|
|
@@ -116,9 +115,6 @@ stack_trace_call(unsigned long ip, unsigned long parent_ip,
|
|
|
{
|
|
|
int cpu;
|
|
|
|
|
|
- if (unlikely(!ftrace_enabled || stack_trace_disabled))
|
|
|
- return;
|
|
|
-
|
|
|
preempt_disable_notrace();
|
|
|
|
|
|
cpu = raw_smp_processor_id();
|