summaryrefslogtreecommitdiffstats
path: root/kernel/trace/tracing_map.h
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2017-09-22 21:58:19 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-10-04 19:06:25 +0200
commit4f36c2d85cedea60ad424d44534121ab0458069e (patch)
tree2411a78ce95cafc702cd4d8990d9d5559ca59511 /kernel/trace/tracing_map.h
parenttracing: Remove lookups from tracing_map hitcount (diff)
downloadlinux-4f36c2d85cedea60ad424d44534121ab0458069e.tar.xz
linux-4f36c2d85cedea60ad424d44534121ab0458069e.zip
tracing: Increase tracing map KEYS_MAX size
The current default for the number of subkeys in a compound key is 2, which is too restrictive. Increase it to a more realistic value of 3. Link: http://lkml.kernel.org/r/b6952cca06d1f912eba33804a6fd6069b3847d44.1506105045.git.tom.zanussi@linux.intel.com Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/tracing_map.h')
-rw-r--r--kernel/trace/tracing_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/tracing_map.h b/kernel/trace/tracing_map.h
index 618838f5f30a..f0975110b967 100644
--- a/kernel/trace/tracing_map.h
+++ b/kernel/trace/tracing_map.h
@@ -5,7 +5,7 @@
#define TRACING_MAP_BITS_MAX 17
#define TRACING_MAP_BITS_MIN 7
-#define TRACING_MAP_KEYS_MAX 2
+#define TRACING_MAP_KEYS_MAX 3
#define TRACING_MAP_VALS_MAX 3
#define TRACING_MAP_FIELDS_MAX (TRACING_MAP_KEYS_MAX + \
TRACING_MAP_VALS_MAX)