diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-11-25 15:07:04 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-25 19:59:45 -0500 |
commit | fb52607afcd0629776f1dc9e657647ceae81dd50 (patch) | |
tree | 7bf43b41ff8510d3098c089913cce56a9049f0fd /kernel/trace/trace.h | |
parent | 509dceef6470442d8c7b8a43ec34125205840b3c (diff) |
tracing/function-return-tracer: change the name into function-graph-tracer
Impact: cleanup
This patch changes the name of the "return function tracer" into
function-graph-tracer which is a more suitable name for a tracing
which makes one able to retrieve the ordered call stack during
the code flow.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 3abd645e8af2..72b5ef868765 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -57,7 +57,7 @@ struct ftrace_entry { | |||
57 | }; | 57 | }; |
58 | 58 | ||
59 | /* Function return entry */ | 59 | /* Function return entry */ |
60 | struct ftrace_ret_entry { | 60 | struct ftrace_graph_entry { |
61 | struct trace_entry ent; | 61 | struct trace_entry ent; |
62 | unsigned long ip; | 62 | unsigned long ip; |
63 | unsigned long parent_ip; | 63 | unsigned long parent_ip; |
@@ -264,7 +264,7 @@ extern void __ftrace_bad_type(void); | |||
264 | IF_ASSIGN(var, ent, struct trace_boot_call, TRACE_BOOT_CALL);\ | 264 | IF_ASSIGN(var, ent, struct trace_boot_call, TRACE_BOOT_CALL);\ |
265 | IF_ASSIGN(var, ent, struct trace_boot_ret, TRACE_BOOT_RET);\ | 265 | IF_ASSIGN(var, ent, struct trace_boot_ret, TRACE_BOOT_RET);\ |
266 | IF_ASSIGN(var, ent, struct trace_branch, TRACE_BRANCH); \ | 266 | IF_ASSIGN(var, ent, struct trace_branch, TRACE_BRANCH); \ |
267 | IF_ASSIGN(var, ent, struct ftrace_ret_entry, TRACE_FN_RET);\ | 267 | IF_ASSIGN(var, ent, struct ftrace_graph_entry, TRACE_FN_RET);\ |
268 | IF_ASSIGN(var, ent, struct bts_entry, TRACE_BTS);\ | 268 | IF_ASSIGN(var, ent, struct bts_entry, TRACE_BTS);\ |
269 | __ftrace_bad_type(); \ | 269 | __ftrace_bad_type(); \ |
270 | } while (0) | 270 | } while (0) |
@@ -398,7 +398,7 @@ void trace_function(struct trace_array *tr, | |||
398 | unsigned long parent_ip, | 398 | unsigned long parent_ip, |
399 | unsigned long flags, int pc); | 399 | unsigned long flags, int pc); |
400 | void | 400 | void |
401 | trace_function_return(struct ftrace_retfunc *trace); | 401 | trace_function_graph(struct ftrace_graph_ret *trace); |
402 | 402 | ||
403 | void trace_bts(struct trace_array *tr, | 403 | void trace_bts(struct trace_array *tr, |
404 | unsigned long from, | 404 | unsigned long from, |
@@ -489,11 +489,11 @@ extern int trace_vprintk(unsigned long ip, const char *fmt, va_list args); | |||
489 | extern unsigned long trace_flags; | 489 | extern unsigned long trace_flags; |
490 | 490 | ||
491 | /* Standard output formatting function used for function return traces */ | 491 | /* Standard output formatting function used for function return traces */ |
492 | #ifdef CONFIG_FUNCTION_RET_TRACER | 492 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
493 | extern enum print_line_t print_return_function(struct trace_iterator *iter); | 493 | extern enum print_line_t print_graph_function(struct trace_iterator *iter); |
494 | #else | 494 | #else |
495 | static inline enum print_line_t | 495 | static inline enum print_line_t |
496 | print_return_function(struct trace_iterator *iter) | 496 | print_graph_function(struct trace_iterator *iter) |
497 | { | 497 | { |
498 | return TRACE_TYPE_UNHANDLED; | 498 | return TRACE_TYPE_UNHANDLED; |
499 | } | 499 | } |