Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1972744rwn; Fri, 9 Sep 2022 06:54:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR47ND7bewgBfoJEIIbu50o18yO8aumzYk6Yol/ub+MrNUOy+d4xykZQivslBJjKYI1lzLMf X-Received: by 2002:a63:1f1b:0:b0:429:b4be:72f0 with SMTP id f27-20020a631f1b000000b00429b4be72f0mr12031751pgf.622.1662731624931; Fri, 09 Sep 2022 06:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662731624; cv=none; d=google.com; s=arc-20160816; b=mSZwDbaq2q54gfKxm2KYL9W/TxRfHVPVa5eRxcDOyPm9C8mt0AxTc/lf8U5hnqk+gv R0YTDza3KgMhdLeaROVJ3c45trIYtRh2661WFZRb8PnEb/9yC6y3Hh9R/+nG4gZ8AE/H 3BQlHWmO54EK1M07GWgqh64pDfzePyuiIaoR6tA7k+amDM6LhCW63XzOIsPUKSj+LiWH xT7OloHxqPLRLZ+di3X1OVxK/VfRNSRV6OGVIzITZT6W6KhqrBHmty+T3P0+AqGFk8RX SpGcjSMigp3jkLF6P6kp0PLBOKHXd9azRxYVgdADTUHDtLApCLdtrB86vS+twMdFz1Ih 1eHA== 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=zVcKE+3fWsAxiLOezJoiCasUPczyBVEutZLz/rYLR7M=; b=DuhXRujyZ9dfkFrtCfWNdnNxMghM+Gra5UJSQurGxeK36j2OqDln5JsvyuQ8Pz0pnd iaoAURDXYnEfHU70alWh4KhxIWLAe2YVvOZ1DkzmKs06XQcpbTYM+ZIEzKov3vzBU4EL ECNMEAITB6AMR9AdSLYEGKwjTabdHalQZfZq/2zeNXGXw/0X15rPRYlP3AzsPQNrVmKN FGK6wdUOO5ZmT3ZDu1LDg3s/da7jHt/OIocq5zHb6jtEUiYRtzEnJ1EbsRqN07+ylswH mu/9/nbtDScLhV/6TxfE+V9Tt+UosFemBBJkSCf4lBIN4zho+KmrMcuMNLYC2XZaYHuv 2/UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UbvrhDDm; 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 l4-20020a17090270c400b0016f8fdcc3d3si612094plt.84.2022.09.09.06.53.31; Fri, 09 Sep 2022 06:53:44 -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=UbvrhDDm; 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 S231838AbiIINrI (ORCPT + 99 others); Fri, 9 Sep 2022 09:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbiIINqx (ORCPT ); Fri, 9 Sep 2022 09:46:53 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 899A2142D80; Fri, 9 Sep 2022 06:46:42 -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 ams.source.kernel.org (Postfix) with ESMTPS id A9654B8234C; Fri, 9 Sep 2022 13:46:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E6C1C433D7; Fri, 9 Sep 2022 13:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662731163; bh=trwxe4IAvNyEME56RQVerBqHxD5EQM85KO+x9pEr+BE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UbvrhDDm6UwismMwQg8S08Z6FLJv+446HAmX9WTTCLq9kcBjjT0BkFp5fm/FZ6EE6 L/HzrOfoutOjiQ4HKFvWKWvaAMhkB/uEsREn1Ph21qlMb6XyccexqskGQ3YG5/yGId UeX1BrddAILgMBPEBnWgdfM22bGcdVuicmzodMyJgfsw1pF5WDhm+fXJAlPPLqSRc3 OEfcNi8sD640juil+rCcWkXea7v1AkpLPDn6PeGauphyu3xvq04Op+rWRT/9PDf4PL o1PKlGdEzCjWixgTZHshwyexCRwzC0cxdty9GfR8Nqi7mhLp+UJkW3zVvhRwXR1PO+ 8Vdndh2TpOTSw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 8F07B404A1; Fri, 9 Sep 2022 10:46:00 -0300 (-03) Date: Fri, 9 Sep 2022 10:46:00 -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: 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 10:43:52AM -0300, Arnaldo Carvalho de Melo escreveu: > 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. I left it as: perf pmu: Remove perf_pmu_lex() needless declaration It builds without it, perhaps with some older combination of flex/bison we needed this, clean it up a bit removing this.