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
2 parent s 0944c0a + c1bf08a
History
File Mode Size
Makefile -rw-r--r-- 786 bytes
auto_group.c -rw-r--r-- 5.6 KB
auto_group.h -rw-r--r-- 1.5 KB
clock.c -rw-r--r-- 8.0 KB
core.c -rw-r--r-- 195.7 KB
cpupri.c -rw-r--r-- 6.6 KB
cpupri.h -rw-r--r-- 791 bytes
cputime.c -rw-r--r-- 15.2 KB
debug.c -rw-r--r-- 12.3 KB
fair.c -rw-r--r-- 158.0 KB
features.h -rw-r--r-- 2.0 KB
idle_task.c -rw-r--r-- 2.1 KB
rt.c -rw-r--r-- 47.0 KB
sched.h -rw-r--r-- 31.4 KB
stats.c -rw-r--r-- 2.7 KB
stats.h -rw-r--r-- 6.6 KB
stop_task.c -rw-r--r-- 2.7 KB

back to top