Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346894
b: refs/heads/master
c: 717a9ef
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Steven Rostedt committed Nov 19, 2012
1 parent 2bcabcc commit d99431e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d60da506cbeb3f1907a740547dd7ef04a93e908e
refs/heads/master: 717a9ef7f355480686cdbac3f32d6075437a923e
4 changes: 0 additions & 4 deletions trunk/kernel/trace/trace_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit d99431e

Please sign in to comment.