Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318015
b: refs/heads/master
c: b2ad368
h: refs/heads/master
i:
  318013: 650c21d
  318011: 322e7b8
  318007: 112ef5d
  317999: 3f5c0fd
  317983: bbba5e2
  317951: 9b00abd
v: v3
  • Loading branch information
Anton Vorontsov authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent e138313 commit 811d1be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: c1743cbc8d20d208bb1d2b10598204f2d89b144c
refs/heads/master: b2ad368bebc0f772613668e893fa176396e9094c
7 changes: 4 additions & 3 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -3172,10 +3172,10 @@ static int tracing_set_tracer(const char *buf)
}
destroy_trace_option_files(topts);

current_trace = t;
current_trace = &nop_trace;

topts = create_trace_option_files(current_trace);
if (current_trace->use_max_tr) {
topts = create_trace_option_files(t);
if (t->use_max_tr) {
int cpu;
/* we need to make per cpu buffer sizes equivalent */
for_each_tracing_cpu(cpu) {
Expand All @@ -3195,6 +3195,7 @@ static int tracing_set_tracer(const char *buf)
goto out;
}

current_trace = t;
trace_branch_enable(tr);
out:
mutex_unlock(&trace_types_lock);
Expand Down

0 comments on commit 811d1be

Please sign in to comment.