diff options
-rw-r--r-- | litmus/trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/trace.c b/litmus/trace.c index 0e75133c1392..2bcaaf474b7a 100644 --- a/litmus/trace.c +++ b/litmus/trace.c | |||
@@ -29,6 +29,9 @@ void ft_irq_fired(void) | |||
29 | /* Only called with preemptions disabled. */ | 29 | /* Only called with preemptions disabled. */ |
30 | atomic_inc(this_cpu_ptr(&irq_fired_count)); | 30 | atomic_inc(this_cpu_ptr(&irq_fired_count)); |
31 | atomic_inc(this_cpu_ptr(&cpu_irq_fired_count)); | 31 | atomic_inc(this_cpu_ptr(&cpu_irq_fired_count)); |
32 | |||
33 | if (has_control_page(current)) | ||
34 | get_control_page(current)->irq_count++; | ||
32 | } | 35 | } |
33 | 36 | ||
34 | static inline void clear_irq_fired(void) | 37 | static inline void clear_irq_fired(void) |