diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-06-20 13:38:54 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-01 07:13:35 -0400 |
commit | 12306276fabcb746a14979e96f43a13c724dec49 (patch) | |
tree | 566588d71d1f32c4cc07dd600892ed75214eb463 /kernel/trace/trace_output.h | |
parent | 5c27c775d5e698d5b754d213747e9fb85290e3b8 (diff) |
tracing: Move the trace_seq_* functions into its own trace_seq.c file
The trace_seq_*() functions are a nice utility that allows users to manipulate
buffers with printf() like formats. It has its own trace_seq.h header in
include/linux and should be in its own file. Being tied with trace_output.c
is rather awkward.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.h')
-rw-r--r-- | kernel/trace/trace_output.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h index 127a9d8c8357..bf7daf2237ed 100644 --- a/kernel/trace/trace_output.h +++ b/kernel/trace/trace_output.h | |||
@@ -35,9 +35,6 @@ trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry); | |||
35 | extern int __unregister_ftrace_event(struct trace_event *event); | 35 | extern int __unregister_ftrace_event(struct trace_event *event); |
36 | extern struct rw_semaphore trace_event_sem; | 36 | extern struct rw_semaphore trace_event_sem; |
37 | 37 | ||
38 | #define MAX_MEMHEX_BYTES 8 | ||
39 | #define HEX_CHARS (MAX_MEMHEX_BYTES*2 + 1) | ||
40 | |||
41 | #define SEQ_PUT_FIELD_RET(s, x) \ | 38 | #define SEQ_PUT_FIELD_RET(s, x) \ |
42 | do { \ | 39 | do { \ |
43 | if (!trace_seq_putmem(s, &(x), sizeof(x))) \ | 40 | if (!trace_seq_putmem(s, &(x), sizeof(x))) \ |