diff options
author | Abhishek Sagar <sagar.abhishek@gmail.com> | 2008-06-01 18:17:30 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 11:56:57 +0200 |
commit | 0eb967012ea15e6e8cfab483d9fa37bc602d400c (patch) | |
tree | 0e9c026a2d83f313cdc3f9f235d58ff522cee090 /arch/arm/kernel | |
parent | ftrace: export kretprobe_trampoline for function tracer (diff) | |
download | linux-0eb967012ea15e6e8cfab483d9fa37bc602d400c.tar.xz linux-0eb967012ea15e6e8cfab483d9fa37bc602d400c.zip |
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 <sagar.abhishek@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions