Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1761096rwn; Fri, 9 Sep 2022 03:47:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR52v+fk+HxjzsEtKeJdiQQTmgadiJ5YjmZ5YjUpdvEHorDP0IAk48P14chZ+s+P6Sr9pqb/ X-Received: by 2002:a17:906:8449:b0:73d:d822:3085 with SMTP id e9-20020a170906844900b0073dd8223085mr9294312ejy.270.1662720457393; Fri, 09 Sep 2022 03:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662720457; cv=none; d=google.com; s=arc-20160816; b=t8+nrVUr1dbEwXWZfsu5yF52NMN8Ao/mNbBmo/4c3oQY2T624SfkHgF04HW0zxve++ ZpY1vfRqwqSx3vp6+jkMzeJxHagoUdGCVZGdtk227j1twgVtljK0vEFYmuTuP6MrgEO9 e+rv3wQnlzqzdEsDKNHDS7MUptPlh6qwVzHzMcd4bbgt/F3MhIeQRxyFJzI6U/vMPPo7 mKhJ7rzC2Sr6sQuZQFQ2k/ikabi5TehcSnAy0B1B+QJeqs/KVdHWxL82mvidYFz2Aps4 LLCztLZ9MJL9rmSU1E9e8AVgWT1QDmjsSj93lCWikrhrzrk4yAWLLxlYJk4Mcfxc5UOA T8pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=NFHXrW77KPSQ3VLdjWFdXxZFjH6zRMzVKbJtvJU+H8Y=; b=Pl7eagL60j5maz3xWE3B7VjOc2OmPW9o7yMR+XbZvOt1AMuGavBahG7/Osk8H/4swE VJsXuPuHn31cS+YpxZ4dBze3/2CV6z2xaXCqHVYdd32t9/UEOSSIj3LJx7YL1yUI7L5y j88WtekfFcwhMG9u5qII8GlRyLj1qfWid1pzafIzPRkIr2ox83CYPM3rt9nlKvQ9kHIf qMuT2DwV22ktxvnWlUjD8GMyieqKuyq3cigNK7MggcDVm5A/1bfp3Ud06c2AskcnLlAN xc0Ajxxm7dLWQ/99EitMPzDJNkNuSzPkOgCUOIt4K4wpbor6NP1g6Adkm0WaiEhbXVbN SwTg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw17-20020a170906479100b00774d10fa9b6si159594ejc.417.2022.09.09.03.47.11; Fri, 09 Sep 2022 03:47:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230183AbiIIKau (ORCPT + 99 others); Fri, 9 Sep 2022 06:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbiIIKaC (ORCPT ); Fri, 9 Sep 2022 06:30:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0FF8732A8E; Fri, 9 Sep 2022 03:29:48 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 163FC15DB; Fri, 9 Sep 2022 03:29:53 -0700 (PDT) Received: from [10.57.77.227] (unknown [10.57.77.227]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 217483F73D; Fri, 9 Sep 2022 03:29:45 -0700 (PDT) Message-ID: <50fba997-d8c1-257b-fd11-db2bb1e53f70@arm.com> Date: Fri, 9 Sep 2022 11:29:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/2] perf tools: remove perf_pmu_lex declaration Content-Language: en-US To: Gaosheng Cui Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, atrajeev@linux.vnet.ibm.com, eranian@google.com References: <20220909044542.1087870-1-cuigaosheng1@huawei.com> <20220909044542.1087870-3-cuigaosheng1@huawei.com> From: James Clark In-Reply-To: <20220909044542.1087870-3-cuigaosheng1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,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 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. 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. > > Signed-off-by: Gaosheng Cui > --- > tools/perf/util/pmu.y | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/perf/util/pmu.y b/tools/perf/util/pmu.y > index bfd7e8509869..0dab0ec2eff7 100644 > --- a/tools/perf/util/pmu.y > +++ b/tools/perf/util/pmu.y > @@ -10,8 +10,6 @@ > #include > #include "pmu.h" > > -extern int perf_pmu_lex (void); > - > #define ABORT_ON(val) \ > do { \ > if (val) \