diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-05-12 21:20:55 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 21:15:42 +0200 |
commit | 07a267cdd2fd7d1de9455b1e36a1635ace7276c7 (patch) | |
tree | 886495b48c0e10866aa92e61e0dbd247a7e80e25 /kernel/trace/trace.c | |
parent | c1d2327b36f2261ffa8ff7227321ba900c7eee7f (diff) |
ftrace: add UNINTERRUPTIBLE state for kftraced on disable
When dynamic ftrace fails and sets itself disabled, the ftraced daemon
will go back to sleep everytime it wakes up. The setting of the
ftraced state to UNINTERRUPTIBLE is skipped in this process, and the
daemon takes up 100% of the CPU. This patch makes sure the ftraced daemon
sets itself to UNINTERRUPTIBLE in that loop.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions