diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-19 14:03:53 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-19 15:58:47 -0400 |
commit | 40ce74f19c28077550646c76d96a075bf312e461 (patch) | |
tree | bd58d38b6ac806be6f59276f16d1e0758376fa1d /kernel/trace/trace.h | |
parent | 2fbcdb35aca614f9529a0e7d340146cf0b71684f (diff) |
tracing: remove recording function depth from trace_printk
The function depth in trace_printk was to facilitate the function
graph output. Now that the function graph calculates the depth within
the trace output, we no longer need to record the depth when the
trace_printk is called.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 38276d1638e3..7c9a0cbf5dca 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -123,7 +123,6 @@ struct userstack_entry { | |||
123 | struct bprint_entry { | 123 | struct bprint_entry { |
124 | struct trace_entry ent; | 124 | struct trace_entry ent; |
125 | unsigned long ip; | 125 | unsigned long ip; |
126 | int depth; | ||
127 | const char *fmt; | 126 | const char *fmt; |
128 | u32 buf[]; | 127 | u32 buf[]; |
129 | }; | 128 | }; |
@@ -131,7 +130,6 @@ struct bprint_entry { | |||
131 | struct print_entry { | 130 | struct print_entry { |
132 | struct trace_entry ent; | 131 | struct trace_entry ent; |
133 | unsigned long ip; | 132 | unsigned long ip; |
134 | int depth; | ||
135 | char buf[]; | 133 | char buf[]; |
136 | }; | 134 | }; |
137 | 135 | ||
@@ -598,9 +596,9 @@ extern int trace_selftest_startup_branch(struct tracer *trace, | |||
598 | extern void *head_page(struct trace_array_cpu *data); | 596 | extern void *head_page(struct trace_array_cpu *data); |
599 | extern long ns2usecs(cycle_t nsec); | 597 | extern long ns2usecs(cycle_t nsec); |
600 | extern int | 598 | extern int |
601 | trace_vbprintk(unsigned long ip, int depth, const char *fmt, va_list args); | 599 | trace_vbprintk(unsigned long ip, const char *fmt, va_list args); |
602 | extern int | 600 | extern int |
603 | trace_vprintk(unsigned long ip, int depth, const char *fmt, va_list args); | 601 | trace_vprintk(unsigned long ip, const char *fmt, va_list args); |
604 | 602 | ||
605 | extern unsigned long trace_flags; | 603 | extern unsigned long trace_flags; |
606 | 604 | ||