Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1993288rwn; Fri, 9 Sep 2022 07:08:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR5D+Cwlyfh8PPQ2mfalW9XmdSazUomRqx/aTvzcziZcLb9kjyiSt/gKv/1OW27ZyPNKVrad X-Received: by 2002:a05:6512:2381:b0:492:afa4:6b67 with SMTP id c1-20020a056512238100b00492afa46b67mr4209224lfv.621.1662732536977; Fri, 09 Sep 2022 07:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662732536; cv=none; d=google.com; s=arc-20160816; b=FwHdlZQ7rR4Ij+ZX8RYV0xycAqUdARv/NqulMEfKBP+aInTAez+o7V9PekX1TSadDL RHzOxHxblK4f4I7AjECE/on+5/OSbPQjVHsC6Q5Q3D00cq3yC0pPy5gPTkUNZEX/2EvY CatTfg+qkoO21uR5m+hm1A/sDoBH+bic3iM6AuJDx8VHbDsyI45RLdXLgHSjXKni8S1X LNDSQjsPEWjtaibwO9w5WY9S7krENqAmOLQHzZ7T/LpFbIUIdzQj1JJdJCNSrEgvoRBV hbOWfTHseXrUjJzsgQoaHCKNeTC/ziP21m0huX4CFAGtxtBsW9FHjMEOtKywWLq67DMd /+bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=boVIzQMSQP1LDblx3Zj2LEkSPAYBmjVIJjiZyQ/W24Y=; b=Qau981C6C0ZlxFwx+YLVvkR7NXyVEZn8mGxoVricCDyES6DD9wQ+PffnJkZEueTyo7 OPoVOHuM7jaxD+SaQUOcC41TQQElejmwpvuN4UikoZtxA/5+0MgNj071u00Xgzvu6MLD uKIC31VO9vi1AXt7R18HF6aiQh623SBPwoS8ObRByV6LYZvp3xUVUjjgjNY/pb/g1nwj ReOGKeUIle0drYLMzcc0so9/aNa2v8qSgtXNQ2dar/qDZhF+T0GaXiNfsj+Lya92F2IJ zuA70byZCMhLv5ZlPUQ8JLra8z9rAZnZtUDbQR/yJKIVJuAO/oD/DX6YsKwVYsKY84Mp CP7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KuBq1Dg0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p28-20020a056512313c00b004892cfc8358si255076lfd.61.2022.09.09.07.08.20; Fri, 09 Sep 2022 07:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KuBq1Dg0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbiIINpg (ORCPT + 99 others); Fri, 9 Sep 2022 09:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbiIINpb (ORCPT ); Fri, 9 Sep 2022 09:45:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F5AF3A141; Fri, 9 Sep 2022 06:45:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7CCCA61FF5; Fri, 9 Sep 2022 13:43:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA603C433D6; Fri, 9 Sep 2022 13:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662731034; bh=ka023ytyyv+ZyIkoN5VtuWKrjVE1dqvusBT/4c6ZpSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KuBq1Dg02Hyvr87fWI0TMmp4Yrn7BIRFD36SPRRAXtpdEgSoqqwhZo+URBzJitA77 t3xd0YfYJD14+uCVKkFdQvHUW6HeoexPQduoALYosn7d6QmLfXMGSu7Lm7U1l0wwal exDZlNrJybWqxuqzqJU6xOL8H4UVF07i3WCsb4OozbmvGsY1YYFEU3tmmHevHN3wYu Zh82GSXmd46oyIJSGJicxs2gUG7qpwbYiJBJEpz32ezf2tlkhQydok4qGXEZshnHK5 ArcIlwA5YEX1h18n4/BBRcb0PjbLr5lGEYhdEZVsLgWCQpSO6jVtYxguqjceDXTV/n GufQGYIDFJHjw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 5EA50404A1; Fri, 9 Sep 2022 10:43:52 -0300 (-03) Date: Fri, 9 Sep 2022 10:43:52 -0300 From: Arnaldo Carvalho de Melo To: James Clark Cc: Gaosheng Cui , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, atrajeev@linux.vnet.ibm.com, eranian@google.com Subject: Re: [PATCH 2/2] perf tools: remove perf_pmu_lex declaration Message-ID: References: <20220909044542.1087870-1-cuigaosheng1@huawei.com> <20220909044542.1087870-3-cuigaosheng1@huawei.com> <50fba997-d8c1-257b-fd11-db2bb1e53f70@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50fba997-d8c1-257b-fd11-db2bb1e53f70@arm.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Sep 09, 2022 at 11:29:43AM +0100, James Clark escreveu: > > > On 09/09/2022 05:45, Gaosheng Cui wrote: > > perf_pmu_lex has been removed since > > commit 65f3e56e0c81 ("perf tools: Remove auto-generated bison/flex files"), > > so remove it. > > Not 100% sure if that is the right commit to reference because it didn't > touch pmu.y. Yeah, indeed, unsure if at that time the declaration was needed. > perf_pmu_lex is still used and there are plenty of references to it, but > maybe the extern declaration isn't needed anymore because it still > builds for me with this change. Ditto here, I'll remove the reference and rewrite the cset log a bit. - Arnaldo