tracing: synth events: increase max fields count
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 1 Sep 2021 13:55:13 +0000 (16:55 +0300)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 8 Sep 2021 19:29:16 +0000 (15:29 -0400)
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>
kernel/trace/trace_synth.h

index 4007fe9..b29595f 100644 (file)
@@ -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) */