aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_sysprof.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_sysprof.c')
-rw-r--r--kernel/trace/trace_sysprof.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace_sysprof.c b/kernel/trace/trace_sysprof.c
index 3b1e4ba9180d..76dd953eeccd 100644
--- a/kernel/trace/trace_sysprof.c
+++ b/kernel/trace/trace_sysprof.c
@@ -81,7 +81,7 @@ static void timer_notify(struct pt_regs *regs, int cpu)
81 81
82 } 82 }
83 83
84 trace_special(tr, data, 0, current->pid, regs->ip); 84 __trace_special(tr, data, 0, current->pid, regs->ip);
85 85
86 fp = (void __user *)regs->bp; 86 fp = (void __user *)regs->bp;
87 87
@@ -93,18 +93,18 @@ static void timer_notify(struct pt_regs *regs, int cpu)
93 if ((unsigned long)fp < regs->sp) 93 if ((unsigned long)fp < regs->sp)
94 break; 94 break;
95 95
96 trace_special(tr, data, 1, frame.return_address, 96 __trace_special(tr, data, 1, frame.return_address,
97 (unsigned long)fp); 97 (unsigned long)fp);
98 fp = frame.next_fp; 98 fp = frame.next_fp;
99 } 99 }
100 100
101 trace_special(tr, data, 2, current->pid, i); 101 __trace_special(tr, data, 2, current->pid, i);
102 102
103 /* 103 /*
104 * Special trace entry if we overflow the max depth: 104 * Special trace entry if we overflow the max depth:
105 */ 105 */
106 if (i == sample_max_depth) 106 if (i == sample_max_depth)
107 trace_special(tr, data, -1, -1, -1); 107 __trace_special(tr, data, -1, -1, -1);
108} 108}
109 109
110static enum hrtimer_restart stack_trace_timer_fn(struct hrtimer *hrtimer) 110static enum hrtimer_restart stack_trace_timer_fn(struct hrtimer *hrtimer)