aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-09-16 21:58:24 +0300
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:37:07 +0200
commit801fe40001dfc263848552fb28924b766ed44ea4 (patch)
treefbb0a6ff09deb9f605d955ccdc6f5cb89793e1cf /kernel/trace/trace.h
parent45dcd8b8a8ca855591e3ac882d3a7fc255d09d43 (diff)
downloadkernel_samsung_smdk4412-801fe40001dfc263848552fb28924b766ed44ea4.tar.gz
kernel_samsung_smdk4412-801fe40001dfc263848552fb28924b766ed44ea4.tar.bz2
kernel_samsung_smdk4412-801fe40001dfc263848552fb28924b766ed44ea4.zip
ftrace: add trace_vprintk()
trace_vprintk() for easier implementation of tracer specific *_printk functions. Add check check for no_tracer, and implement __ftrace_printk() as a wrapper. Signed-off-by: Pekka Paalanen <pq@iki.fi> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 9d39aa00a9c..be3b3cf95f4 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -333,6 +333,7 @@ extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...);
extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf,
size_t cnt);
extern long ns2usecs(cycle_t nsec);
+extern int trace_vprintk(unsigned long ip, const char *fmt, va_list args);
extern unsigned long trace_flags;