diff options
Diffstat (limited to 'kernel/context_tracking.c')
| -rw-r--r-- | kernel/context_tracking.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index 019d45008448..5664985c46a0 100644 --- a/kernel/context_tracking.c +++ b/kernel/context_tracking.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
| 20 | #include <linux/hardirq.h> | 20 | #include <linux/hardirq.h> |
| 21 | #include <linux/export.h> | 21 | #include <linux/export.h> |
| 22 | #include <linux/kprobes.h> | ||
| 22 | 23 | ||
| 23 | #define CREATE_TRACE_POINTS | 24 | #define CREATE_TRACE_POINTS |
| 24 | #include <trace/events/context_tracking.h> | 25 | #include <trace/events/context_tracking.h> |
| @@ -104,6 +105,7 @@ void context_tracking_user_enter(void) | |||
| 104 | } | 105 | } |
| 105 | local_irq_restore(flags); | 106 | local_irq_restore(flags); |
| 106 | } | 107 | } |
| 108 | NOKPROBE_SYMBOL(context_tracking_user_enter); | ||
| 107 | 109 | ||
| 108 | #ifdef CONFIG_PREEMPT | 110 | #ifdef CONFIG_PREEMPT |
| 109 | /** | 111 | /** |
| @@ -181,6 +183,7 @@ void context_tracking_user_exit(void) | |||
| 181 | } | 183 | } |
| 182 | local_irq_restore(flags); | 184 | local_irq_restore(flags); |
| 183 | } | 185 | } |
| 186 | NOKPROBE_SYMBOL(context_tracking_user_exit); | ||
| 184 | 187 | ||
| 185 | /** | 188 | /** |
| 186 | * __context_tracking_task_switch - context switch the syscall callbacks | 189 | * __context_tracking_task_switch - context switch the syscall callbacks |
