aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h6
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 {
123struct bprint_entry { 123struct 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 {
131struct print_entry { 130struct 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,
598extern void *head_page(struct trace_array_cpu *data); 596extern void *head_page(struct trace_array_cpu *data);
599extern long ns2usecs(cycle_t nsec); 597extern long ns2usecs(cycle_t nsec);
600extern int 598extern int
601trace_vbprintk(unsigned long ip, int depth, const char *fmt, va_list args); 599trace_vbprintk(unsigned long ip, const char *fmt, va_list args);
602extern int 600extern int
603trace_vprintk(unsigned long ip, int depth, const char *fmt, va_list args); 601trace_vprintk(unsigned long ip, const char *fmt, va_list args);
604 602
605extern unsigned long trace_flags; 603extern unsigned long trace_flags;
606 604