diff options
author | Andi Kleen <ak@linux.intel.com> | 2017-08-11 19:26:24 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-08-22 11:19:05 -0400 |
commit | 8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6 (patch) | |
tree | bd1bbba6e3373301002676e8710cdb5dc09b37a5 | |
parent | d73bad06851b8d5745c11dd4ab789464f6c71b39 (diff) |
perf tools: Increase maximum number of events in expressions
Some of the upcoming metrics need more than 8 events. Increase the maximum
number the parser supports.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170811232634.30465-9-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/expr.h b/tools/perf/util/expr.h index 9c2760a1a96e..400ef9eab00a 100644 --- a/tools/perf/util/expr.h +++ b/tools/perf/util/expr.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef PARSE_CTX_H | 1 | #ifndef PARSE_CTX_H |
2 | #define PARSE_CTX_H 1 | 2 | #define PARSE_CTX_H 1 |
3 | 3 | ||
4 | #define EXPR_MAX_OTHER 8 | 4 | #define EXPR_MAX_OTHER 15 |
5 | #define MAX_PARSE_ID EXPR_MAX_OTHER | 5 | #define MAX_PARSE_ID EXPR_MAX_OTHER |
6 | 6 | ||
7 | struct parse_id { | 7 | struct parse_id { |