Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2180967ybv; Mon, 24 Feb 2020 00:30:08 -0800 (PST) X-Google-Smtp-Source: APXvYqx9jOwxWUrFVGOE0BNcc0YjYy6JvqoG5+fGPpTgY1vRen03IYvfCg45F0bk1dm2PzUvTxGa X-Received: by 2002:a05:6830:18f5:: with SMTP id d21mr38758656otf.225.1582533007863; Mon, 24 Feb 2020 00:30:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582533007; cv=none; d=google.com; s=arc-20160816; b=jK27X8Km2jCeUn22l2jzhP2rZD5f85h5/ypWFYjayXB/Yii51Qx1AS2KvHikw5dge0 T+N8B1mXxRcrxMgnf76VQ1xswQE3vQYBBaJyqmjr7hb0qU6OvVfeqnLosoVjWTI44KJ7 S/XE3x6cUTR6jW58syOcI7krRiQyT/hslYTdXhQtFIPs/RDp1JIbMoUhrJG8GjELzSDp KEKysHO7E513zdQo0aXjRO2H90gPgHPiDLXevZ0spKEe0XAv3yJlDczU8LvTmjtrsXJ4 a/uKRwLyrxsTmAESyp0S6mlZ149Tp5juA6WqxMCk9sUUJGH5jZFwzWxakMn18nrUl87v LsVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7wUM87bQ6yityT8ld8yeyaOESo+lzAu5XFVbLyIrSRA=; b=w3s16pWxltldK4r7xqlU8Pk1noulBf5thJkOGaGoMvyX+/kUKID6RZOT/DbYZgHc2K QAbbTCyLhi+wcyLuItM8QAtgrbyIh7t1oRpBaYnT/XUcEDqHBGuI3iXMlj6NFLIsBSGx uWFbZbE4tQeSnjFgfjN1fPiagn1T8jyFGrkLl0p+fcIGebs7JL/SK+14NslINff/DSEX H7kQQTsw9lq9fJ6QiRqeT1c7ZFFZDUmmgekHyqujvhwMB/PCukOGqsqpX3r/IhDy3sdA tc8GPp7XMghW6wN+ICa4J+nHN60q7GaLxGbUh3BtXMx+Rd7IJbCgtjeaI7YTr4p1DYfA SQgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d189si4548482oib.93.2020.02.24.00.29.47; Mon, 24 Feb 2020 00:30:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbgBXI3k convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Feb 2020 03:29:40 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:50891 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726216AbgBXI3k (ORCPT ); Mon, 24 Feb 2020 03:29:40 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-77-gltWIxIdPgykShrVWuHUlQ-1; Mon, 24 Feb 2020 03:29:37 -0500 X-MC-Unique: gltWIxIdPgykShrVWuHUlQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 17D4C1857350; Mon, 24 Feb 2020 08:29:35 +0000 (UTC) Received: from krava.redhat.com (ovpn-205-68.brq.redhat.com [10.40.205.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id D417F85781; Mon, 24 Feb 2020 08:29:30 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ravi Bangoria , Andi Kleen , Kajol Jain , John Garry Subject: [PATCH 3/5] perf expr: Increase EXPR_MAX_OTHER Date: Mon, 24 Feb 2020 09:29:16 +0100 Message-Id: <20200224082918.58489-4-jolsa@kernel.org> In-Reply-To: <20200224082918.58489-1-jolsa@kernel.org> References: <20200224082918.58489-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Jiri Olsa --- tools/perf/util/expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/expr.h b/tools/perf/util/expr.h index 9332796e6649..01e1529bdfd9 100644 --- a/tools/perf/util/expr.h +++ b/tools/perf/util/expr.h @@ -2,7 +2,7 @@ #ifndef PARSE_CTX_H #define PARSE_CTX_H 1 -#define EXPR_MAX_OTHER 15 +#define EXPR_MAX_OTHER 100 #define MAX_PARSE_ID EXPR_MAX_OTHER struct parse_id { -- 2.24.1