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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index ee53d706066f..8845033ab49d 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -155,6 +155,7 @@ struct tracer {
155struct trace_seq { 155struct trace_seq {
156 unsigned char buffer[PAGE_SIZE]; 156 unsigned char buffer[PAGE_SIZE];
157 unsigned int len; 157 unsigned int len;
158 unsigned int readpos;
158}; 159};
159 160
160/* 161/*
@@ -301,6 +302,8 @@ extern int trace_selftest_startup_sched_switch(struct tracer *trace,
301 302
302extern void *head_page(struct trace_array_cpu *data); 303extern void *head_page(struct trace_array_cpu *data);
303extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...); 304extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...);
305extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf,
306 size_t cnt);
304extern long ns2usecs(cycle_t nsec); 307extern long ns2usecs(cycle_t nsec);
305 308
306extern unsigned long trace_flags; 309extern unsigned long trace_flags;