Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2857962ybv; Mon, 24 Feb 2020 13:05:04 -0800 (PST) X-Google-Smtp-Source: APXvYqy2RqNuPvDzIDls+RIdCewhfi+C18dZLBtdT2mpsqGpVW+259Jp/w1xXFkbZmTHtSzhxA/O X-Received: by 2002:a54:4085:: with SMTP id i5mr797134oii.17.1582578304619; Mon, 24 Feb 2020 13:05:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582578304; cv=none; d=google.com; s=arc-20160816; b=gYLivro03GqZIb0z7QZLXlV6FFHPAmPTLb05Q+caZqlPjtx3lSzv5ivBs5q3iRJJHR nT/DwneRMEhhf0OTVXpQWVmMm9uIhgknL9Rzmp+A/kashBHXLqHmtVOkVwGJ5YmqP8dF uP3rOSyzn1wlxUyU1c3Fs/4t86QD4FZNNS8JQ7X7w0wJujEh6IF/swziXoy4c0z26qfG Ra1sHOy2oxStuyJfRFKbuzxjd82vGOzUc2q4ZGy2RUfeI5kD3nH+Fbid9aXPol6kuv1Z PfsXvxcNr/o2nTRUSfHa5UvFtqwQWrWsQneHdh+M+sXKp0hQGbnKAn1zwHIsfFao9LA5 W1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pZXi78Fwb82xZNGlj4wKSApf50nRR/7qlAG8dnGMAjM=; b=dWxmDAErnFC4H2QR1kZzwQyioeMvClSLnMnee6ij3CIav3okP2eWRJHNN9O4NU0Myo AagA7tyKVD9p3l9h7BjoBfP3yRdcmEGDZYyVxRX/B5Y/97aaLthPssWAxAHEHaEqDPFZ 3nqjF+dMxdR6I4PFVZECikTQkymRmcPo9YCDJJ/tNCwuvnYf744B0gnQjNnwvVc3WbhN DTjgFxhSTrqY+Gc0OVtrBzIcyqLKUS2arb5l41W0PTD4Fx2G+pYUEZW7/bEB192SLa7q FA0e+QLrg8COtD2d6Pren5MVvcHUal0SFjQVDo+LQlAqOfYpxekFVjjFKxmruH2V5Hqn OeAQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q65si5571791oic.123.2020.02.24.13.04.51; Mon, 24 Feb 2020 13:05:04 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727745AbgBXVDK (ORCPT + 99 others); Mon, 24 Feb 2020 16:03:10 -0500 Received: from mga09.intel.com ([134.134.136.24]:33705 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgBXVDK (ORCPT ); Mon, 24 Feb 2020 16:03:10 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2020 13:03:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,481,1574150400"; d="scan'208";a="231243317" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga008.fm.intel.com with ESMTP; 24 Feb 2020 13:03:08 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 9004A3015F3; Mon, 24 Feb 2020 13:03:08 -0800 (PST) Date: Mon, 24 Feb 2020 13:03:08 -0800 From: Andi Kleen To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ravi Bangoria , Kajol Jain , John Garry Subject: Re: [PATCH 3/5] perf expr: Increase EXPR_MAX_OTHER Message-ID: <20200224210308.GQ160988@tassilo.jf.intel.com> References: <20200224082918.58489-1-jolsa@kernel.org> <20200224082918.58489-4-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200224082918.58489-4-jolsa@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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