From: Abhishek Sagar Date: Sun, 1 Jun 2008 16:17:30 +0000 (+0530) Subject: ftrace: prevent freeing of all failed updates X-Git-Tag: v2.6.27-rc1~1102^2^2~3^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eb967012ea15e6e8cfab483d9fa37bc602d400c;p=pandora-kernel.git ftrace: prevent freeing of all failed updates Prevent freeing of records which cause problems and correspond to function from core kernel text. A new flag, FTRACE_FL_CONVERTED is used to mark a record as "converted". All other records are patched lazily to NOPs. Failed records now also remain on frace_hash table. Each invocation of ftrace_record_ip now checks whether the traced function has ever been recorded (including past failures) and doesn't re-record it again. Signed-off-by: Abhishek Sagar Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed