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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 0565ae9a2210..fce98898205a 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -117,6 +117,7 @@ struct userstack_entry {
117struct print_entry { 117struct print_entry {
118 struct trace_entry ent; 118 struct trace_entry ent;
119 unsigned long ip; 119 unsigned long ip;
120 int depth;
120 char buf[]; 121 char buf[];
121}; 122};
122 123
@@ -498,7 +499,8 @@ seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
498extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, 499extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf,
499 size_t cnt); 500 size_t cnt);
500extern long ns2usecs(cycle_t nsec); 501extern long ns2usecs(cycle_t nsec);
501extern int trace_vprintk(unsigned long ip, const char *fmt, va_list args); 502extern int
503trace_vprintk(unsigned long ip, int depth, const char *fmt, va_list args);
502 504
503extern unsigned long trace_flags; 505extern unsigned long trace_flags;
504 506