From: Abhishek Sagar Date: Sat, 21 Jun 2008 18:17:53 +0000 (+0530) Subject: ftrace: freeze kprobe'd records X-Git-Tag: v2.6.27-rc1~1102^2^2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecea656d1d5e912d2f3d332657ea4a6d8380f891;p=pandora-kernel.git ftrace: freeze kprobe'd records Let records identified as being kprobe'd be marked as "frozen". The trouble with records which have a kprobe installed on their mcount call-site is that they don't get updated. So if such a function which is currently being traced gets its tracing disabled due to a new filter rule (or because it was added to the notrace list) then it won't be updated and continue being traced. This patch allows scanning of all frozen records during tracing to check if they should be traced. Signed-off-by: Abhishek Sagar Cc: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed