diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-15 01:21:19 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-16 07:30:17 +0100 |
commit | 918c115410c6cc57033835b6a401e57697f9ea4f (patch) | |
tree | 62d4f9d5c76f022f59cdb2a58e95d55c9c233799 /kernel/trace/trace.c | |
parent | ftrace: disable ftrace on anomalies in trace start and stop (diff) | |
download | linux-918c115410c6cc57033835b6a401e57697f9ea4f.tar.xz linux-918c115410c6cc57033835b6a401e57697f9ea4f.zip |
ftrace: do not process freed records
Impact: keep from converting freed records
When the tracer is started or stopped, it converts all code pointed
to by the saved records into callers to ftrace or nops. When modules
are unloaded, their records are freed, but they still exist within
the record pages.
This patch changes the code to skip over freed records.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions