Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167093
b: refs/heads/master
c: 3279ba3
h: refs/heads/master
i:
  167091: b96d1f9
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Oct 7, 2009
1 parent eef3e77 commit 5f5365c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: e7247a15ff3bbdab0a8b402dffa1171e5c05a8e0
refs/heads/master: 3279ba37db5d65c4ab0dcdee3b211ccb85bb563f
11 changes: 3 additions & 8 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,14 +1074,9 @@ static void ftrace_replace_code(int enable)
failed = __ftrace_replace_code(rec, enable);
if (failed) {
rec->flags |= FTRACE_FL_FAILED;
if ((system_state == SYSTEM_BOOTING) ||
!core_kernel_text(rec->ip)) {
ftrace_free_rec(rec);
} else {
ftrace_bug(failed, rec->ip);
/* Stop processing */
return;
}
ftrace_bug(failed, rec->ip);
/* Stop processing */
return;
}
} while_for_each_ftrace_rec();
}
Expand Down

0 comments on commit 5f5365c

Please sign in to comment.