Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140660
b: refs/heads/master
c: b06a830
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Jan 23, 2009
1 parent 32ff4ba commit 3d9b3a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: 94523e818f283d3c69f621406f633afff46dbf82
refs/heads/master: b06a830183b610c0a88c29a92feb7991a867ab46
13 changes: 6 additions & 7 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,13 +610,12 @@ void tracing_start(void)
return;

spin_lock_irqsave(&tracing_start_lock, flags);
if (--trace_stop_count)
goto out;

if (trace_stop_count < 0) {
/* Someone screwed up their debugging */
WARN_ON_ONCE(1);
trace_stop_count = 0;
if (--trace_stop_count) {
if (trace_stop_count < 0) {
/* Someone screwed up their debugging */
WARN_ON_ONCE(1);
trace_stop_count = 0;
}
goto out;
}

Expand Down

0 comments on commit 3d9b3a7

Please sign in to comment.