diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 6e9dae7eb418..9ade79369bfb 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -988,6 +988,9 @@ function_trace_call(unsigned long ip, unsigned long parent_ip) | |||
988 | if (unlikely(!tracer_enabled)) | 988 | if (unlikely(!tracer_enabled)) |
989 | return; | 989 | return; |
990 | 990 | ||
991 | if (skip_trace(ip)) | ||
992 | return; | ||
993 | |||
991 | local_irq_save(flags); | 994 | local_irq_save(flags); |
992 | cpu = raw_smp_processor_id(); | 995 | cpu = raw_smp_processor_id(); |
993 | data = tr->data[cpu]; | 996 | data = tr->data[cpu]; |