summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_synth.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2021-09-01 15:55:13 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-09-08 21:29:16 +0200
commit0be083cee42ec78ba6f9148f5b12a00aa2fb8bd3 (patch)
treea0e9fc8beaf0a934d5df55c29d42d5f20646fae8 /kernel/trace/trace_synth.h
parenttools/bootconfig: Show whole test command for each test case (diff)
downloadlinux-0be083cee42ec78ba6f9148f5b12a00aa2fb8bd3.tar.xz
linux-0be083cee42ec78ba6f9148f5b12a00aa2fb8bd3.zip
tracing: synth events: increase max fields count
Sometimes it is useful to construct larger synthetic trace events. Increase 'SYNTH_FIELDS_MAX' (maximum number of fields in a synthetic event) from 32 to 64. Link: https://lkml.kernel.org/r/20210901135513.3087062-1-dedekind1@gmail.com Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Acked-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_synth.h')
-rw-r--r--kernel/trace/trace_synth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_synth.h b/kernel/trace/trace_synth.h
index 4007fe95cf42..b29595fe3ac5 100644
--- a/kernel/trace/trace_synth.h
+++ b/kernel/trace/trace_synth.h
@@ -5,7 +5,7 @@
#include "trace_dynevent.h"
#define SYNTH_SYSTEM "synthetic"
-#define SYNTH_FIELDS_MAX 32
+#define SYNTH_FIELDS_MAX 64
#define STR_VAR_LEN_MAX MAX_FILTER_STR_VAL /* must be multiple of sizeof(u64) */