aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-07-03 03:24:42 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-03 18:27:03 -0400
commitde30a2b355ea85350ca2f58f3b9bf4e5bc007986 (patch)
tree0bef670aff65614b3c78ca13b20307355b8221d5 /include/linux/sched.h
parent5bdc9b447c0076f494a56fdcd93ee8c5e78a2afd (diff)
[PATCH] lockdep: irqtrace subsystem, core
Accurate hard-IRQ-flags and softirq-flags state tracing. This allows us to attach extra functionality to IRQ flags on/off events (such as trace-on/off). Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index bdabeee10a78..ad7a89014d29 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -871,6 +871,21 @@ struct task_struct {
871 /* mutex deadlock detection */ 871 /* mutex deadlock detection */
872 struct mutex_waiter *blocked_on; 872 struct mutex_waiter *blocked_on;
873#endif 873#endif
874#ifdef CONFIG_TRACE_IRQFLAGS
875 unsigned int irq_events;
876 int hardirqs_enabled;
877 unsigned long hardirq_enable_ip;
878 unsigned int hardirq_enable_event;
879 unsigned long hardirq_disable_ip;
880 unsigned int hardirq_disable_event;
881 int softirqs_enabled;
882 unsigned long softirq_disable_ip;
883 unsigned int softirq_disable_event;
884 unsigned long softirq_enable_ip;
885 unsigned int softirq_enable_event;
886 int hardirq_context;
887 int softirq_context;
888#endif
874 889
875/* journalling filesystem info */ 890/* journalling filesystem info */
876 void *journal_info; 891 void *journal_info;