Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1290862rdb; Fri, 20 Oct 2023 14:16:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkP0DYDQhMmD1iYEv/mj991yCc3715uyumCG1Q5WncNDkhvHzA5aW9ASJ3cxpDIl/tiakp X-Received: by 2002:a05:6a20:e125:b0:f0:50c4:4c43 with SMTP id kr37-20020a056a20e12500b000f050c44c43mr4393774pzb.5.1697836596195; Fri, 20 Oct 2023 14:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697836596; cv=none; d=google.com; s=arc-20160816; b=dRVSRkEg0PPfuGyucYjWgaJpheHJ+m+gMFfd0VRQBRztk/cFRY/Jq6bXHhFh8Qw2XO GdigzmFc9unnjjnej50gx3EQjMUrOiSgrdRMnHNjG6OJQD+oQp0qBuDKH5Cy12MkdxxT V9BOQrGYNsZLocBoI6nYg7bUsI2rhlAM53ersX/X5KuqAixlnqRwUUnaRebVZOYgVqAV PspfcCS6gfaRyIwiZZMaHrO8+I/cVFh/TvoIbTxktOmGonLn+enTwYteSSZ94WBl/tPE 5Fu6rw9jbth1KRdyEIk6EfaM6YFeEcZsevRkq2mi41cLMzFNha8BP57dNTlNR8CIEVO1 UHLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=MdZHTqgJi3gJz/VooYTAJ/HVwP76tzyzmrGyortG+mw=; fh=5map3fs05shqWFXGkDJeJDfXhvcr85pRO/75qnigdCY=; b=p5eZGgfp47J2a1YGPbCepkc51k+6vJHZoAGefYFo0IkznZ8kiJ14E9z0CFIJ/srQG7 soHpZJHUWbE9bbrj7gZN/y1I30TYQ4I+7CFHkFxWmwut09MNPF3AGyFNepAhts1jB+js 1bjRVyPGW0HEOOxiEvWdlVpvYGMW60H0wzFM61z1WtooHIXgSenDwidN78ieBbSdTn0G 6ajH2hSrA+mlDjl2sr4XfVuqOOiZrRkdC+XQr88K/zeXmmJC3GlQkLPR78p9xTlDKOz4 GrtYUWSGcb2tXtotBvUSfv16OsLG7QCFAt8PC+MMgkHV7ad3+Y26fQprEqdwxlmZcBvo odvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id fa15-20020a056a002d0f00b006be3a6e8bc6si2679043pfb.283.2023.10.20.14.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:16:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6AE6780763CB; Fri, 20 Oct 2023 14:15:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbjJTVPW convert rfc822-to-8bit (ORCPT + 99 others); Fri, 20 Oct 2023 17:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjJTVPV (ORCPT ); Fri, 20 Oct 2023 17:15:21 -0400 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF0FA112 for ; Fri, 20 Oct 2023 14:15:14 -0700 (PDT) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-27d17f5457fso1874562a91.0 for ; Fri, 20 Oct 2023 14:15:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697836514; x=1698441314; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1ZfilkoQw2CupMsJXyUJJH9aRuDysIcWfAL2PXV6lks=; b=tqhD3+4BamavoxjgABw3CMn4n3Nj7+LGW0rVC7vnoQeT6MTJRLhIXyeyg5jXgU3hR/ 6aaVU/+G5j744713RRi6sg6EPgzGGpDOZyCWbqEFL3RVg2d3lv04j728kkiRBBZH5LCX pnZSytpkWQwVP9vpea4W998l9Tphnk5wJrewrE75XOrg6t4IMC3sRojA/26tXNKKqNMM BzgD4Vjeon/Tq14wX6dnA85/BMlPHxj6+3wTx34BX2fCHmsNEChysEwbFMwvG95luKXQ XSTR98VXobUum6Ha7S8iZcT1rlftwVFux2O/P+XP/2kCZ4jYBG0Uk8OfVc4UM1zekS67 QXdg== X-Gm-Message-State: AOJu0Yyx/CdhLUmDDnOX2AOXZAw+2+wghCyzfOOYlqXGW3rSgg3LDPnE ckDaiw9qW2Lan/Mj1smvHk1dRAn7ai59cTpYuiU= X-Received: by 2002:a17:90a:c20d:b0:277:61d7:78be with SMTP id e13-20020a17090ac20d00b0027761d778bemr8688168pjt.14.1697836514280; Fri, 20 Oct 2023 14:15:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Namhyung Kim Date: Fri, 20 Oct 2023 14:15:03 -0700 Message-ID: Subject: Re: [PATCH] perf build: Remove stray '\' before that is warned about since grep 3.8 To: Arnaldo Carvalho de Melo Cc: Adrian Hunter , Ian Rogers , Jiri Olsa , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 20 Oct 2023 14:15:45 -0700 (PDT) On Fri, Oct 20, 2023 at 1:34 PM Arnaldo Carvalho de Melo wrote: > > Em Tue, Oct 17, 2023 at 12:02:20PM -0700, Namhyung Kim escreveu: > > Hi Arnaldo, > > > > On Tue, Oct 17, 2023 at 11:15 AM Arnaldo Carvalho de Melo > > wrote: > > > > > > To address this grep 3.8 warning: > > > > > > grep: warning: stray \ before # > > > > > > Cc: Adrian Hunter > > > Cc: Ian Rogers > > > Cc: Jiri Olsa > > > Cc: Namhyung Kim > > > Signed-off-by: Arnaldo Carvalho de Melo > > > --- > > > tools/perf/Makefile.perf | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > > > index 456872ac410df4c0..25d5ccaec22a44fe 100644 > > > --- a/tools/perf/Makefile.perf > > > +++ b/tools/perf/Makefile.perf > > > @@ -361,7 +361,7 @@ python-clean := $(call QUIET_CLEAN, python) $(RM) -r $(PYTHON_EXTBUILD) $(OUTPUT > > > ifeq ($(CONFIG_LIBTRACEEVENT),y) > > > PYTHON_EXT_SRCS := $(shell grep -v ^\# util/python-ext-sources) > > > > Do we need to change it here too? Otherwise looks good > > I think I did tests and simply removing the \ in this case will comment > out the rest of the line after the #, IIRC we would have to enclose it > in '', like > > PYTHON_EXT_SRCS := $(shell grep -v '^\#' util/python-ext-sources) > > But then if it works as-is, why pollute the patch? :-) > > In general the less lines you touch in a patch, the better, don't fix > what isn't broken, helps reviewing, etc. :-) Agreed, thanks! Namhyung