summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events_hist.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2019-11-15 11:17:30 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-15 11:30:29 -0500
commit58a74a2925a5b4125dd4f4e728490b9642534c81 (patch)
treee577043f48d890524b4f476d75926fdac38f7ca2 /kernel/trace/trace_events_hist.c
parentae0cc3b7e7f5e37b946876e114068f92b33dfa5a (diff)
downloadlinux-58a74a2925a5b4125dd4f4e728490b9642534c81.tar.gz
linux-58a74a2925a5b4125dd4f4e728490b9642534c81.tar.bz2
linux-58a74a2925a5b4125dd4f4e728490b9642534c81.zip
tracing: Increase SYNTH_FIELDS_MAX for synthetic_events
Increase the maximum allowed count of synthetic event fields from 16 to 32 in order to allow for larger-than-usual events. Link: http://lkml.kernel.org/r/20191115091730.9192-1-dedekind1@gmail.com Reviewed-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_events_hist.c')
-rw-r--r--kernel/trace/trace_events_hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
index 7482a1466ebf..f49d1a36d3ae 100644
--- a/kernel/trace/trace_events_hist.c
+++ b/kernel/trace/trace_events_hist.c
@@ -23,7 +23,7 @@
#include "trace_dynevent.h"
#define SYNTH_SYSTEM "synthetic"
-#define SYNTH_FIELDS_MAX 16
+#define SYNTH_FIELDS_MAX 32
#define STR_VAR_LEN_MAX 32 /* must be multiple of sizeof(u64) */