lkml.org 
[lkml]   [2008]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] ftrace: prevent freeing of all failed updates

* Abhishek Sagar <sagar.abhishek@gmail.com> wrote:

> 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.

applied to tip/tracing/ftrace, thanks Abhishek.

Ingo


\
 
 \ /
  Last update: 2008-06-10 12:01    [W:0.048 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site