]> err.no Git - linux-2.6/commit
ftrace: avoid modifying kprobe'd records
authorAbhishek Sagar <sagar.abhishek@gmail.com>
Sat, 21 Jun 2008 18:20:29 +0000 (23:50 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 Jun 2008 20:10:59 +0000 (22:10 +0200)
commitf22f9a89ce6857d377bf22dba4c1a8cd256c5136
tree34899ea2a9dc603014052742f774e8aeb51d9591
parentecea656d1d5e912d2f3d332657ea4a6d8380f891
ftrace: avoid modifying kprobe'd records

Avoid modifying the mcount call-site if there is a kprobe installed on it.
These records are not marked as failed however. This allowed the filter
rules on them to remain up-to-date. Whenever the kprobe on the corresponding
record is removed, the record gets updated as normal.

Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c