diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-11 22:01:25 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 03:26:31 +0300 |
commit | 9983deb26d9021aecd971d25abf4cd263c72c385 (patch) | |
tree | 9ddc29a2b0efa03058e201da596c8ed42df0fab7 /include/linux/irqflags_types.h | |
parent | 72375a8864ebc0a20ca4a35f382441b01a0b85b9 (diff) | |
download | linux-9983deb26d9021aecd971d25abf4cd263c72c385.tar.xz |
Split out irqflags_types.h
We're working on only pulling in type definitions to sched.h whenever
possible.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/irqflags_types.h')
-rw-r--r-- | include/linux/irqflags_types.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/irqflags_types.h b/include/linux/irqflags_types.h new file mode 100644 index 000000000000..c13f0d915097 --- /dev/null +++ b/include/linux/irqflags_types.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_IRQFLAGS_TYPES_H +#define _LINUX_IRQFLAGS_TYPES_H + +#ifdef CONFIG_TRACE_IRQFLAGS + +/* Per-task IRQ trace events information. */ +struct irqtrace_events { + unsigned int irq_events; + unsigned long hardirq_enable_ip; + unsigned long hardirq_disable_ip; + unsigned int hardirq_enable_event; + unsigned int hardirq_disable_event; + unsigned long softirq_disable_ip; + unsigned long softirq_enable_ip; + unsigned int softirq_disable_event; + unsigned int softirq_enable_event; +}; + +#endif + +#endif /* _LINUX_IRQFLAGS_TYPES_H */ |