Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2412911ybv; Fri, 21 Feb 2020 15:21:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyxhlN+T2ZipetU7ftJNA+sHoMfDwO6xgouEfM+VXm7qB8xSdSeVpMc8ctRc8oxqWXgelbo X-Received: by 2002:a05:6830:1296:: with SMTP id z22mr29398663otp.354.1582327261998; Fri, 21 Feb 2020 15:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582327261; cv=none; d=google.com; s=arc-20160816; b=QO49GnkD4aoHgsEj9NnpFT3Fk/Qu94B0EtOxLfdGCWJbax0FK4Vtqgv9V9H81VTZ6S LsQDzFhUFO/Fde9kdz5RjY+C3HhUzi41Kn1Cuppzz6Pm3qtTdcoHbMpuXU79Da+mgfp1 t0grrXyx20tnOCP8/wmf9z1z2aaVAIQz3XTNcqT+tOdOy9VfKzml7+dmxopbVdP3i7YH KIcSS7zQisFnQ3io5H7uJ9pJZPMYm3iVDjdwHCFYk2dhnH9x1+zr7Aa19tqKoOI1iI3J GhrcjjG+GktwhHxqhRb3bJQwx3zD53lizrrnvwnghqkHK91KQRe7uOxJiTSCiTBrR27D wOqQ== 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=W0rH7D4+Zju22uIhKh+UP+INQlf1UM0Jjv8edsmnOzenDxT5P1H4+c9q4T/NffkYpW jt/3RbumlzqqyfgWJOUnZIlZvgLcBMd0sQ8hTrO1rn4tdATQnjxGsJkp3fuZL7Qlhfi+ JfxUMMDFRewckOH5INbg1wugM2xWVg1h1tKZNvMS+y4HJk2rcMxxs8wu8SXAym9sUjei Cty2t8n/SRYvgtLb//r3ABhYcNf5PcVpSVdF4eADN27hhDoaVPI92UvLOUoFMVZFsxdd Mn7F10uCJKw0I4EasckSz/IqcCFO+7fITNesXFO8y88moLAdOVJgJSRIVXSUYYWwlHtX gLMg== 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 65si1639777oif.14.2020.02.21.15.20.50; Fri, 21 Feb 2020 15:21:01 -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 S1729627AbgBUXUE convert rfc822-to-8bit (ORCPT + 99 others); Fri, 21 Feb 2020 18:20:04 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:26544 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726290AbgBUXUB (ORCPT ); Fri, 21 Feb 2020 18:20:01 -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-284-2sQIm3pYMCqNTV7twjxW0w-1; Fri, 21 Feb 2020 18:19:56 -0500 X-MC-Unique: 2sQIm3pYMCqNTV7twjxW0w-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 0DEF8801E7A; Fri, 21 Feb 2020 23:19:55 +0000 (UTC) Received: from krava.redhat.com (ovpn-204-57.brq.redhat.com [10.40.204.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C52160499; Fri, 21 Feb 2020 23:19:49 +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/4] perf expr: Increase EXPR_MAX_OTHER Date: Sat, 22 Feb 2020 00:19:34 +0100 Message-Id: <20200221231935.735145-4-jolsa@kernel.org> In-Reply-To: <20200221231935.735145-1-jolsa@kernel.org> References: <20200221231935.735145-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