summaryrefslogtreecommitdiffstats
path: root/include/linux/trace_seq.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-20 13:38:54 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-07-01 07:13:35 -0400
commit12306276fabcb746a14979e96f43a13c724dec49 (patch)
tree566588d71d1f32c4cc07dd600892ed75214eb463 /include/linux/trace_seq.h
parent5c27c775d5e698d5b754d213747e9fb85290e3b8 (diff)
downloadlinux-12306276fabcb746a14979e96f43a13c724dec49.tar.gz
linux-12306276fabcb746a14979e96f43a13c724dec49.tar.xz
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 'include/linux/trace_seq.h')
-rw-r--r--include/linux/trace_seq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/trace_seq.h b/include/linux/trace_seq.h
index 136116924d8d..66ea365acf01 100644
--- a/include/linux/trace_seq.h
+++ b/include/linux/trace_seq.h
@@ -25,6 +25,8 @@ trace_seq_init(struct trace_seq *s)
s->full = 0;
}
+#define MAX_MEMHEX_BYTES 8
+
/*
* Currently only defined when tracing is enabled.
*/