Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1273351rdb; Fri, 20 Oct 2023 13:34:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKBw7YOAm4mLE6okSy2/fCEXiY3bb6Gb91X+lh/DFg2a6uYo7LmAmSaALhUPJj6pmi7reK X-Received: by 2002:a17:90a:ec0f:b0:27d:1051:83c4 with SMTP id l15-20020a17090aec0f00b0027d105183c4mr2881471pjy.12.1697834088613; Fri, 20 Oct 2023 13:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697834088; cv=none; d=google.com; s=arc-20160816; b=yUKMaHnWJQX9h8RVJf+Sk6HGa9mUaWBUX2MRrGLzjovwnNukOxqgzSTxR7TWtpT1lF y5gdH7li2YaNvNCQb8yzObBHGBQ1jccBK3TglJdhx4/FVOrU/LheZZsCMu+/yv6x4NFX ehE0fwr25mHoDFuBuoFmp8e6amksFQXKMFLA9sk/h9qIl2o4ueimpKKGbQ4G98e1rh5t IRPELY5hGe38+GkEdW+EhrK+rtTO6f0KDr3+LljdPO8tzxQXHdyWgmoKlfiVl6pOyIxw uAwLk6oRroVa9ZAKvtMRWYYr+VaOKfKp49iSDBFmNRY2LvGgd7Palc3geWM3gGW1c88t Cfig== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=L3DL0cyyTAvZrPnoq5U0L9+w7PVXhYCSef4Wt+n2/68=; fh=EyWe0P73fPyeDH747e0yQkqJr8jU9wEoh208ROYzUDg=; b=uZuHdm40BTxGG9Y59sU+G5XwJcamdHxK0mXuBpP4sWuYUYoLmebcVGqCgRXXnt9R7U GfcaygPh4gIPVSn5rYvgX2Y8KgutjVW4Qq0DwZ+O98WhdpXbZA/sF1uE2zoF9usot746 galBazD0O49NGRBNAzKnWnYHdQK3luyAmtSwgFYeYMmkdNDrhNJCj7+d3UFsbkBQEtOD avzHowJo2bNTSzL3iijYPzzdNtS9PZn0weSn4m0vQrzqnIbmGERYe4EgjqdN2MW9feam Zz096o2Rwjy57yvCDs6CfRP1ISL+ygssDuRoUNtO4povbGk4T+pASP/ywZbXup8Gco4w M+HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pL0hSIJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bb18-20020a17090b009200b002790b1320d4si5062277pjb.84.2023.10.20.13.34.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 13:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pL0hSIJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 4B4868088A78; Fri, 20 Oct 2023 13:34:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230337AbjJTUej (ORCPT + 99 others); Fri, 20 Oct 2023 16:34:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbjJTUei (ORCPT ); Fri, 20 Oct 2023 16:34:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 192A2C0 for ; Fri, 20 Oct 2023 13:34:37 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C429C433C8; Fri, 20 Oct 2023 20:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697834076; bh=LIk4pD6r0C8MAceeSc7n/uK/kd++PAcf0hHLW1YT2YY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pL0hSIJ6yct7jTkjgsaDXZ68Vz8wLV4hTyUfcUpRdHgrVw53VgMjGvnw3ADHn3sot Y0eAdL5wLp2f5w2fxvjIuIorOE9Ey0nBeAc43L14evtQSCqqJ06GeKxq+6gwn74JiR cGpc50EoSIFS0xgQfJmLDVmWXlIXTtKfFv6x/8wzNHWT4c8EMAAwYsqyi+BuUV+III JlBIwXHs36YREKzsBEe7AkQXEZZZwC/+Y33o1ZmbxuWOS7S3NEjKkx0KIi+fYOc/AW 7hL5edQ88wZMcuS6wHDbnmwccKjtj/lWvoNMn8R46l6vzKcNTlxR6TNHdpQYpzIYVD mUMZtNwAG8/XQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id EB5154035D; Fri, 20 Oct 2023 17:34:33 -0300 (-03) Date: Fri, 20 Oct 2023 17:34:33 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Adrian Hunter , Ian Rogers , Jiri Olsa , Linux Kernel Mailing List Subject: Re: [PATCH] perf build: Remove stray '\' before that is warned about since grep 3.8 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 20 Oct 2023 13:34:46 -0700 (PDT) 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. :-) - Arnaldo > Acked-by: Namhyung Kim > > Thanks, > Namhyung > > > > else > > - PYTHON_EXT_SRCS := $(shell grep -v '^\#\|util/trace-event.c' util/python-ext-sources) > > + PYTHON_EXT_SRCS := $(shell grep -v '^#\|util/trace-event.c' util/python-ext-sources) > > endif > > > > PYTHON_EXT_DEPS := util/python-ext-sources util/setup.py $(LIBAPI) > > -- > > 2.41.0 > > -- - Arnaldo