Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100463
b: refs/heads/master
c: 26994ea
h: refs/heads/master
i:
  100461: 8edf250
  100459: 66168da
  100455: 2408449
  100447: 961a143
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent 6baff18 commit 373352e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4eebcc81a33fbc45e28542b50197ed7b3c486d90
refs/heads/master: 26994ead1fc8cced63f17e9848edc1771036664e
4 changes: 3 additions & 1 deletion trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static struct trace_array max_tr;

static DEFINE_PER_CPU(struct trace_array_cpu, max_data);

static int tracer_enabled;
static int tracer_enabled = 1;
static unsigned long trace_nr_entries = 16384UL;

static struct tracer *trace_types __read_mostly;
Expand Down Expand Up @@ -2268,6 +2268,8 @@ __init static int tracer_alloc_buffers(void)
int ret = -ENOMEM;
int i;

global_trace.ctrl = tracer_enabled;

/* Allocate the first page for all buffers */
for_each_possible_cpu(i) {
data = global_trace.data[i] = &per_cpu(global_trace_cpu, i);
Expand Down

0 comments on commit 373352e

Please sign in to comment.