diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index b05b6ac982a1..1882846b7389 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -12,6 +12,8 @@ | |||
12 | #include <linux/kmemtrace.h> | 12 | #include <linux/kmemtrace.h> |
13 | #include <trace/power.h> | 13 | #include <trace/power.h> |
14 | 14 | ||
15 | #include <linux/trace_seq.h> | ||
16 | |||
15 | enum trace_type { | 17 | enum trace_type { |
16 | __TRACE_FIRST_TYPE = 0, | 18 | __TRACE_FIRST_TYPE = 0, |
17 | 19 | ||
@@ -423,19 +425,6 @@ struct tracer { | |||
423 | struct tracer_stat *stats; | 425 | struct tracer_stat *stats; |
424 | }; | 426 | }; |
425 | 427 | ||
426 | struct trace_seq { | ||
427 | unsigned char buffer[PAGE_SIZE]; | ||
428 | unsigned int len; | ||
429 | unsigned int readpos; | ||
430 | }; | ||
431 | |||
432 | static inline void | ||
433 | trace_seq_init(struct trace_seq *s) | ||
434 | { | ||
435 | s->len = 0; | ||
436 | s->readpos = 0; | ||
437 | } | ||
438 | |||
439 | 428 | ||
440 | #define TRACE_PIPE_ALL_CPU -1 | 429 | #define TRACE_PIPE_ALL_CPU -1 |
441 | 430 | ||