diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:51 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:58:28 -0400 |
commit | e309b41dd65aa953f86765eeeecc941d8e1e8b8f (patch) | |
tree | 295d4ed6e2a766607f889a04b977ca27cc24929e /kernel/trace/trace_functions.c | |
parent | b53dde9d34f2df396540988ebc65c33400f57b04 (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.c | 12 |
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 | ||
19 | static notrace void function_reset(struct trace_array *tr) | 19 | static 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 | ||
29 | static notrace void start_function_trace(struct trace_array *tr) | 29 | static 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 | ||
35 | static notrace void stop_function_trace(struct trace_array *tr) | 35 | static void stop_function_trace(struct trace_array *tr) |
36 | { | 36 | { |
37 | tracing_stop_function_trace(); | 37 | tracing_stop_function_trace(); |
38 | } | 38 | } |
39 | 39 | ||
40 | static notrace void function_trace_init(struct trace_array *tr) | 40 | static 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 | ||
46 | static notrace void function_trace_reset(struct trace_array *tr) | 46 | static 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 | ||
52 | static notrace void function_trace_ctrl_update(struct trace_array *tr) | 52 | static 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); |