Skip to content

Commit

Permalink
perf tools: Increase maximum number of events in expressions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Arnaldo Carvalho de Melo committed Aug 22, 2017
1 parent d73bad0 commit 8d3db2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/util/expr.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef PARSE_CTX_H
#define PARSE_CTX_H 1

#define EXPR_MAX_OTHER 8
#define EXPR_MAX_OTHER 15
#define MAX_PARSE_ID EXPR_MAX_OTHER

struct parse_id {
Expand Down

0 comments on commit 8d3db2b

Please sign in to comment.