1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _LINUX_IRQFLAGS_TYPES_H 3 #define _LINUX_IRQFLAGS_TYPES_H 4 5 #ifdef CONFIG_TRACE_IRQFLAGS 6 7 /* Per-task IRQ trace events information. */ 8 struct irqtrace_events { 9 unsigned int irq_events; 10 unsigned long hardirq_enable_ip; 11 unsigned long hardirq_disable_ip; 12 unsigned int hardirq_enable_event; 13 unsigned int hardirq_disable_event; 14 unsigned long softirq_disable_ip; 15 unsigned long softirq_enable_ip; 16 unsigned int softirq_disable_event; 17 unsigned int softirq_enable_event; 18 }; 19 20 #endif 21 22 #endif /* _LINUX_IRQFLAGS_TYPES_H */ 23