Re: [PATCH 1/3] ftrace: prevent freeing of all failed updates

From: Ingo Molnar
Date: Tue Jun 10 2008 - 05:58:00 EST



* Abhishek Sagar <sagar.abhishek@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/