diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 17:55:54 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 17:55:54 -0400 |
commit | 9caee613d3b860ae81b79370eeae9ac967c07536 (patch) | |
tree | dd54fedade50336cffef616b6c467bf594464ffa /kernel | |
parent | ada6b835067dc022f11cdae1c313a3710d3d977c (diff) |
ftrace: fix __trace_special()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace_sysprof.c | 8 |
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 | ||
110 | static enum hrtimer_restart stack_trace_timer_fn(struct hrtimer *hrtimer) | 110 | static enum hrtimer_restart stack_trace_timer_fn(struct hrtimer *hrtimer) |