Revision d26d45253b78ec0a67003eea25bd08fceaa5b78c authored by Linus Torvalds on 22 January 2013, 18:30:49 UTC, committed by Linus Torvalds on 22 January 2013, 18:30:49 UTC
Pull ftrace fix from Steven Rostedt: "Kprobes now uses the function tracer if it can. That is, if a probe is placed on a function mcount/nop location, and the arch supports it, instead of adding a breakpoint, kprobes will register a function callback as that is much more efficient. The function tracer requires to update modules before they run, and uses the module notifier to do so. But if something else in the module notifiers registers a kprobe at one of these locations, before ftrace can get to it, then the system could fail. The function tracer must be initialized early, otherwise module notifiers that probe will only work by chance." * tag 'trace-3.8-rc4-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: ftrace: Be first to run code modification on modules
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 194 bytes |
callchain.c | -rw-r--r-- | 4.3 KB |
core.c | -rw-r--r-- | 173.2 KB |
hw_breakpoint.c | -rw-r--r-- | 16.1 KB |
internal.h | -rw-r--r-- | 4.0 KB |
ring_buffer.c | -rw-r--r-- | 8.0 KB |
uprobes.c | -rw-r--r-- | 38.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...