Re: [PATCH 3/5] perf expr: Increase EXPR_MAX_OTHER

From: Andi Kleen
Date: Mon Feb 24 2020 - 16:03:12 EST


On Mon, Feb 24, 2020 at 09:29:16AM +0100, Jiri Olsa wrote:
> There's no need to be greedy on allowed variables, also
> when some of the metrics define more than 15 variables,
> like Branch_Misprediction_Cost.
>
> Increasing the maximum to 100.

FWIW some of the algorithms (e.g. already_seen) have O(n^2) complexity.

If you really want that many probably would need to add some hash tables.

-Andi