Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp998797rdb; Wed, 1 Nov 2023 08:36:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHk0Y/EuKlh4v++eo1If0t6DowqrXXzdUDzUsbyZpDSYQMKLQfhdGNAgpr3XLwI6T0yvXKL X-Received: by 2002:a17:902:dacc:b0:1cc:51b8:80f3 with SMTP id q12-20020a170902dacc00b001cc51b880f3mr8443191plx.16.1698852966550; Wed, 01 Nov 2023 08:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698852966; cv=none; d=google.com; s=arc-20160816; b=NFu/7oBEfxp69/ardat9UAWYJ+iXjJoeNaB+7xqsb+hMu7YitmMQ7OrN28ORAn9W/m ucQzfXA/EtHSTZu3ufkHM9s7cy+fkxuU7/UJRkTzJUT9zEITCXkS0K7nlEUg0Ecmd3Nc VPDc/IFAyd908mX+ki3X65ye+MJjwQwyjULJ8uBabp7ksydzxkOQ52FOOWvHJqSncDgu knxdF0tyyLjFERF8wW9Avdo1TBYnCnWJffgYCtEoLHFJ/qLJLSiv+J0iMhwj9mlw0eyQ sNS8N3e8J0S4pA52IzL7S3bDIis0gqBcf6gwxj3qWNdj/qVI3WvTdLrPiS/zfwE3YomA Pg7Q== 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; bh=EyobxL5sIQVU9BRjmsGmj1JbVBItjQQF5X+nTEZUOcU=; fh=Ez1KytITsMXwXqaTIb6zGQ4SkL6QcPNkn4nwycqXf+w=; b=DRDst/6A3SeWFq2lSqm2DdjCN4zKJsQ31nRGrUCrzc9NstFETqcsMltI0+21mxLOED o+iiNU8VsBsjjgFEm0+xi1lUqtjZpbICHEXR6E+6z2D+XaVoV9fBEp/px3QaXDGkbeOz 5x+fz1M3kQGxZ75js/5iUaE39accbp2SnXlHXi72xQmdiNdfKSbA0G0kLVnEjeOwrZb2 2Nd8h4rsVM+o2Wl2n8s0eJitLG8Nicrh2NfFQqTkJSFw0SQV5cZeO9UL0OwcvUr3L4RW uOKVFAWVF8nTyaykCsaDig43T2F9/dPMEFf7OhSnSgvPu9rIz9vQRRaXX/V6FOi5byqO hZQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id lc6-20020a170902fa8600b001cbe9b9f160si2991532plb.5.2023.11.01.08.36.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 08:36:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D7E1F80C47B3; Wed, 1 Nov 2023 08:36:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234556AbjKAPfj (ORCPT + 99 others); Wed, 1 Nov 2023 11:35:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234573AbjKAPfb (ORCPT ); Wed, 1 Nov 2023 11:35:31 -0400 Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64AF912C for ; Wed, 1 Nov 2023 08:35:21 -0700 (PDT) Date: Wed, 1 Nov 2023 16:35:15 +0100 From: Guilherme Amadio To: Arnaldo Carvalho de Melo Cc: Linux Kernel Mailing List , Adrian Hunter , Ian Rogers , Jiri Olsa , Namhyung Kim Subject: Re: [PATCH next 2/3] perf tests make: Remove the last egrep call, use 'grep -E' instead Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 01 Nov 2023 08:36:04 -0700 (PDT) Hi Arnaldo, On Tue, Oct 31, 2023 at 12:31:01PM -0300, Arnaldo Carvalho de Melo wrote: > One last case, caught while testing with amazonlinux:2, centos:stream, > etc: > > 4 7.28 amazonlinux:2 : FAIL egrep: warning: egrep is obsolescent; using grep -E > 8 13.87 centos:stream : FAIL egrep: warning: egrep is obsolescent; using grep -E > > Cc: Adrian Hunter > Cc: Guilherme Amadio Looks good. Reviewed-by: Guilherme Amadio Cheers, -Guilherme > Cc: Ian Rogers > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Arnaldo Carvalho de Melo > --- > tools/perf/tests/make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/tests/make b/tools/perf/tests/make > index d9945ed25bc5ae96..8a4da7eb637a8abd 100644 > --- a/tools/perf/tests/make > +++ b/tools/perf/tests/make > @@ -183,7 +183,7 @@ run += make_install_prefix_slash > # run += make_install_pdf > run += make_minimal > > -old_libbpf := $(shell echo '\#include ' | $(CC) -E -dM -x c -| egrep -q "define[[:space:]]+LIBBPF_MAJOR_VERSION[[:space:]]+0{1}") > +old_libbpf := $(shell echo '\#include ' | $(CC) -E -dM -x c -| grep -q -E "define[[:space:]]+LIBBPF_MAJOR_VERSION[[:space:]]+0{1}") > > ifneq ($(old_libbpf),) > run += make_libbpf_dynamic > -- > 2.41.0 >