Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140647
b: refs/heads/master
c: e23b8ad
h: refs/heads/master
i:
  140645: f482687
  140643: 94e68c8
  140639: c0b61d0
v: v3
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Jan 20, 2009
1 parent 157c817 commit 1bd57fa
Show file tree
Hide file tree
Showing 2 changed files with 8 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: b1818748b0cf9427e48acf9713295e829a0d715f
refs/heads/master: e23b8ad83430a6fdfbdbfac365f5b0312dd57f10
8 changes: 7 additions & 1 deletion trunk/kernel/trace/trace_hw_branches.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ static void trace_bts_prepare(struct trace_iterator *iter)
mutex_unlock(&bts_tracer_mutex);
}

static void trace_bts_close(struct trace_iterator *iter)
{
tracing_reset_online_cpus(iter->tr);
}

void trace_hw_branch_oops(void)
{
mutex_lock(&bts_tracer_mutex);
Expand All @@ -292,7 +297,8 @@ struct tracer bts_tracer __read_mostly =
.print_line = bts_trace_print_line,
.start = bts_trace_start,
.stop = bts_trace_stop,
.open = trace_bts_prepare
.open = trace_bts_prepare,
.close = trace_bts_close
};

__init static int init_bts_trace(void)
Expand Down

0 comments on commit 1bd57fa

Please sign in to comment.