aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2020-02-28 09:36:14 +0000
committerArnaldo Carvalho de Melo <[email protected]>2020-03-10 00:43:24 +0000
commit58ca707636dc44c8803a098fb68129f64272f151 (patch)
treefa5f02342f39b0d2c71318ef6c55ed4f688af345 /tools/perf/builtin-diff.c
parentperf expr: Move expr lexer to flex (diff)
downloadkernel-58ca707636dc44c8803a098fb68129f64272f151.tar.gz
kernel-58ca707636dc44c8803a098fb68129f64272f151.zip
perf expr: Increase EXPR_MAX_OTHER to support metrics with more than 15 variables
We have metrics that define more than 15 variables, like Branch_Misprediction_Cost. Increasing the allowed variables count to 20. As Andy pointed out, we can't go too high in here, because some of the code has O(n^2) complexity (already_seen) and we might want to do some other changes (like using hash tables) before increasing the maximum even more. Signed-off-by: Jiri Olsa <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: John Garry <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-diff.c')
0 files changed, 0 insertions, 0 deletions