From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752625AbdHXIWm (ORCPT ); Thu, 24 Aug 2017 04:22:42 -0400 Received: from terminus.zytor.com ([65.50.211.136]:47897 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbdHXIWk (ORCPT ); Thu, 24 Aug 2017 04:22:40 -0400 Date: Thu, 24 Aug 2017 01:21:30 -0700 From: tip-bot for Andi Kleen Message-ID: Cc: hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, jolsa@kernel.org, ak@linux.intel.com, linux-kernel@vger.kernel.org, acme@redhat.com Reply-To: linux-kernel@vger.kernel.org, acme@redhat.com, tglx@linutronix.de, hpa@zytor.com, mingo@kernel.org, ak@linux.intel.com, jolsa@kernel.org In-Reply-To: <20170811232634.30465-9-andi@firstfloor.org> References: <20170811232634.30465-9-andi@firstfloor.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Increase maximum number of events in expressions Git-Commit-ID: 8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6 Gitweb: http://git.kernel.org/tip/8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6 Author: Andi Kleen AuthorDate: Fri, 11 Aug 2017 16:26:24 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 12:19:05 -0300 perf tools: Increase maximum number of events in expressions Some of the upcoming metrics need more than 8 events. Increase the maximum number the parser supports. Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/20170811232634.30465-9-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- 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 9c2760a..400ef9e 100644 --- a/tools/perf/util/expr.h +++ b/tools/perf/util/expr.h @@ -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 {