File tree Expand file tree Collapse file tree 3 files changed +24
-14
lines changed Expand file tree Collapse file tree 3 files changed +24
-14
lines changed Original file line number Diff line number Diff line change 12
12
#ifndef _LINUX_TRACE_IRQFLAGS_H
13
13
#define _LINUX_TRACE_IRQFLAGS_H
14
14
15
+ #include <linux/irqflags_types.h>
15
16
#include <linux/typecheck.h>
16
17
#include <linux/cleanup.h>
17
18
#include <asm/irqflags.h>
34
35
35
36
#ifdef CONFIG_TRACE_IRQFLAGS
36
37
37
- /* Per-task IRQ trace events information. */
38
- struct irqtrace_events {
39
- unsigned int irq_events ;
40
- unsigned long hardirq_enable_ip ;
41
- unsigned long hardirq_disable_ip ;
42
- unsigned int hardirq_enable_event ;
43
- unsigned int hardirq_disable_event ;
44
- unsigned long softirq_disable_ip ;
45
- unsigned long softirq_enable_ip ;
46
- unsigned int softirq_disable_event ;
47
- unsigned int softirq_enable_event ;
48
- };
49
-
50
38
DECLARE_PER_CPU (int , hardirqs_enabled );
51
39
DECLARE_PER_CPU (int , hardirq_context );
52
40
Original file line number Diff line number Diff line change
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 */
Original file line number Diff line number Diff line change 11
11
12
12
#include <asm/current.h>
13
13
14
+ #include <linux/irqflags_types.h>
14
15
#include <linux/pid_types.h>
15
16
#include <linux/sem.h>
16
17
#include <linux/shm.h>
17
18
#include <linux/kmsan_types.h>
18
19
#include <linux/mutex_types.h>
19
20
#include <linux/plist_types.h>
20
21
#include <linux/hrtimer_types.h>
21
- #include <linux/irqflags.h>
22
22
#include <linux/seccomp.h>
23
23
#include <linux/nodemask_types.h>
24
24
#include <linux/rcupdate.h>
You can’t perform that action at this time.
0 commit comments