aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:51 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 14:58:28 -0400
commite309b41dd65aa953f86765eeeecc941d8e1e8b8f (patch)
tree295d4ed6e2a766607f889a04b977ca27cc24929e /kernel/trace/trace_functions.c
parentb53dde9d34f2df396540988ebc65c33400f57b04 (diff)
ftrace: remove notrace
now that we have a kbuild method for notrace, no need to pollute the C code with the annotations. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace_functions.c')
-rw-r--r--kernel/trace/trace_functions.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c
index 69a0eb00a0a5..4165d34bd28a 100644
--- a/kernel/trace/trace_functions.c
+++ b/kernel/trace/trace_functions.c
@@ -16,7 +16,7 @@
16 16
17#include "trace.h" 17#include "trace.h"
18 18
19static notrace void function_reset(struct trace_array *tr) 19static void function_reset(struct trace_array *tr)
20{ 20{
21 int cpu; 21 int cpu;
22 22
@@ -26,30 +26,30 @@ static notrace void function_reset(struct trace_array *tr)
26 tracing_reset(tr->data[cpu]); 26 tracing_reset(tr->data[cpu]);
27} 27}
28 28
29static notrace void start_function_trace(struct trace_array *tr) 29static void start_function_trace(struct trace_array *tr)
30{ 30{
31 function_reset(tr); 31 function_reset(tr);
32 tracing_start_function_trace(); 32 tracing_start_function_trace();
33} 33}
34 34
35static notrace void stop_function_trace(struct trace_array *tr) 35static void stop_function_trace(struct trace_array *tr)
36{ 36{
37 tracing_stop_function_trace(); 37 tracing_stop_function_trace();
38} 38}
39 39
40static notrace void function_trace_init(struct trace_array *tr) 40static void function_trace_init(struct trace_array *tr)
41{ 41{
42 if (tr->ctrl) 42 if (tr->ctrl)
43 start_function_trace(tr); 43 start_function_trace(tr);
44} 44}
45 45
46static notrace void function_trace_reset(struct trace_array *tr) 46static void function_trace_reset(struct trace_array *tr)
47{ 47{
48 if (tr->ctrl) 48 if (tr->ctrl)
49 stop_function_trace(tr); 49 stop_function_trace(tr);
50} 50}
51 51
52static notrace void function_trace_ctrl_update(struct trace_array *tr) 52static void function_trace_ctrl_update(struct trace_array *tr)
53{ 53{
54 if (tr->ctrl) 54 if (tr->ctrl)
55 start_function_trace(tr); 55 start_function_trace(tr);