diff options
-rw-r--r-- | kernel/trace/trace_kprobe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 1865d5f76538..69286337fd7e 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -767,6 +767,8 @@ static __kprobes void kretprobe_trace_func(struct kretprobe_instance *ri, | |||
767 | unsigned long irq_flags; | 767 | unsigned long irq_flags; |
768 | struct ftrace_event_call *call = &tp->call; | 768 | struct ftrace_event_call *call = &tp->call; |
769 | 769 | ||
770 | tp->nhit++; | ||
771 | |||
770 | local_save_flags(irq_flags); | 772 | local_save_flags(irq_flags); |
771 | pc = preempt_count(); | 773 | pc = preempt_count(); |
772 | 774 | ||