diff options
| author | 2008-11-10 23:07:30 -0500 | |
|---|---|---|
| committer | 2008-11-11 09:40:29 +0100 | |
| commit | 5aa1ba6a6c710e747838a22d798ac97a8b248745 (patch) | |
| tree | 29a0e0bfdad1a5674667dda1236099952dbf41cb /kernel/trace/trace_stack.c | |
| parent | Merge branch 'tracing/urgent' into tracing/ftrace (diff) | |
| download | linux-dev-5aa1ba6a6c710e747838a22d798ac97a8b248745.tar.xz linux-dev-5aa1ba6a6c710e747838a22d798ac97a8b248745.zip | |
ftrace: prevent ftrace_special from recursion
Impact: stop ftrace_special from recursion
The ftrace_special is used to help debug areas of the kernel.
Because of this, if it is put in certain locations, the fact that
it allows recursion can become a problem if the kernel developer
using does not realize that.
This patch changes ftrace_special to not allow recursion into itself
to make it more robust.
It also changes from preempt disable interrupts disable to prevent
any loss of trace entries.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions
