[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210901135513.3087062-1-dedekind1@gmail.com>
Date: Wed, 1 Sep 2021 16:55:13 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Tom Zanussi <zanussi@...nel.org>, linux-kernel@...r.kernel.org,
Artem Bityutskiy <dedekind1@...il.com>
Subject: [PATCH] tracing: synth events: increase max fields count
From: Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>
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.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>
---
kernel/trace/trace_synth.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) */
--
2.31.1
Powered by blists - more mailing lists