diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-24 09:42:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-30 19:03:26 -0400 |
commit | 9244489a7b69fe0746dc7cb3957f02e05bd1ceb0 (patch) | |
tree | f0fb4a422667f67e7e3ac587bbbc6b03fa83756a /Documentation/ftrace.txt | |
parent | f3384b28a05624783b53836ccfed95ecde66a7ad (diff) |
ftrace: handle archs that do not support irqs_disabled_flags
Impact: build fix on non-lockdep architectures
Some architectures do not support a way to read the irq flags that
is set from "local_irq_save(flags)" to determine if interrupts were
disabled or enabled. Ftrace uses this information to display to the user
if the trace occurred with interrupts enabled or disabled.
Besides the fact that those archs that do not support this will fail to
compile, unless they fix it, we do not want to have the trace simply
say interrupts were not disabled or they were enabled, without knowing
the real answer.
This patch adds a 'X' in the output to let the user know that the
architecture they are running on does not support a way for the tracer
to determine if interrupts were enabled or disabled. It also lets those
same archs compile with tracing enabled.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/ftrace.txt')
-rw-r--r-- | Documentation/ftrace.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/ftrace.txt b/Documentation/ftrace.txt index d330fe3103d..ea5a827395d 100644 --- a/Documentation/ftrace.txt +++ b/Documentation/ftrace.txt | |||
@@ -291,6 +291,9 @@ explains which is which. | |||
291 | CPU#: The CPU which the process was running on. | 291 | CPU#: The CPU which the process was running on. |
292 | 292 | ||
293 | irqs-off: 'd' interrupts are disabled. '.' otherwise. | 293 | irqs-off: 'd' interrupts are disabled. '.' otherwise. |
294 | Note: If the architecture does not support a way to | ||
295 | read the irq flags variable, an 'X' will always | ||
296 | be printed here. | ||
294 | 297 | ||
295 | need-resched: 'N' task need_resched is set, '.' otherwise. | 298 | need-resched: 'N' task need_resched is set, '.' otherwise. |
296 | 299 | ||