From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D897C8300A for ; Thu, 30 Apr 2020 11:44:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB79320757 for ; Thu, 30 Apr 2020 11:44:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726766AbgD3Loq (ORCPT ); Thu, 30 Apr 2020 07:44:46 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2133 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726053AbgD3Lop (ORCPT ); Thu, 30 Apr 2020 07:44:45 -0400 Received: from lhreml724-chm.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 02A067461B2C8C95BB52; Thu, 30 Apr 2020 12:44:44 +0100 (IST) Received: from [127.0.0.1] (10.47.0.178) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 30 Apr 2020 12:44:41 +0100 Subject: Re: [PATCH v3 12/12] perf test: improve pmu event metric testing To: Ian Rogers , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Kan Liang , Andi Kleen , Haiyan Song , Jin Yao , Song Liu , Ravi Bangoria , Leo Yan , Adrian Hunter , Paul Clarke , "linux-kernel@vger.kernel.org" , kajoljain , "linux-perf-users@vger.kernel.org" CC: Stephane Eranian References: <20200430075144.132716-1-irogers@google.com> <20200430075144.132716-13-irogers@google.com> From: John Garry Message-ID: <6a3d68fd-c489-c0d5-8612-69f15be1bf64@huawei.com> Date: Thu, 30 Apr 2020 12:44:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20200430075144.132716-13-irogers@google.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.0.178] X-ClientProxiedBy: lhreml731-chm.china.huawei.com (10.201.108.82) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/04/2020 08:51, Ian Rogers wrote: > Add a basic floating point number test to expr. > Break pmu-events test into 2 and add a test to verify that all pmu metric > expressions simply parse. Could we add also add something in jevents to ensure this? Thanks, John Try to parse all metric ids/events, failing if > metrics for the current architecture fail to parse. >