Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp978415rwb; Fri, 28 Jul 2023 02:54:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGvAms4Mupm1xSRzK1ZPLW9sPIHgQiKza4VXAMNECuZinXTGjRTl6PG0LVf4XRWtcj6FXRK X-Received: by 2002:a92:c267:0:b0:348:d5fc:fed with SMTP id h7-20020a92c267000000b00348d5fc0fedmr2532611ild.32.1690538091220; Fri, 28 Jul 2023 02:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690538091; cv=none; d=google.com; s=arc-20160816; b=c1HuZxGJ0BAyKa+FobEEkScupcKG2hpnfp0Pa9dLVOnbbfas0bgXb28h/qJ7nIwHym wueh84qZY8AChXQ8f3/E6HYDMY5gfu6cg+dwQKrW+I9atRXjFFK8jgDXVkCb/xNMGueH ox552zhWPpaPZoUB0p3TvgWmynrqZhQbmzCgH3W0UaPZlg2eWk7oZrGtisurWUiejtz7 0wtzELQBb5ueslWbM7PYeS3QpjVBegCMHMgACQVXLsqXRyEZri04yJHmg3iRAOpcJcOM +1p534C2rbMqyLQMEo+1NCCA1jxbmjcgx15U/UJc214SN8BSRjLH0X/aX0jHmqUd5nQT LVnA== 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:cc :references:to:content-language:subject:user-agent:mime-version:date :message-id; bh=crnwee3343DA4uMl9tRRLdmdNP0OslrPKn9V4BTOxbo=; fh=IV2eg7m2u5JQ7fqTLeIvC5s8kjpEmjr80Fgc1Cpu4Zk=; b=06AyO8QzSwu1uz6HThFnRm+HLMY8mhxL7yLDGtgeqZDenUz0CIPONbRwJFBYKzJZJA JCjqRQPjkw0EIYpj8UgELUkTXNz1OJBXvoU0TZxw43oZzfByHjVC78bArzG4HhgBreWN 5nDlP0f4Oawxj60LJJla+908Ixo1+Di5url/GnBU5ETSBgAU7d+CGC8lVi6f212us+Cd NIBYUF04uq1fA0xNFCYGbmCfYP/Se76CaaGJ2NHlovK6AIMywzVswaL3vv+lV1aTxuaX bHArIBntI9vsJ0QgP/G7Z/WnTRzwHB4IExXk4iyaTQE4ls8oan++yn7ySE/zjPQdZMYx vegA== 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 kl15-20020a170903074f00b001bb907f3981si2727058plb.302.2023.07.28.02.54.39; Fri, 28 Jul 2023 02:54:51 -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 S235151AbjG1I4x (ORCPT + 99 others); Fri, 28 Jul 2023 04:56:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233450AbjG1I42 (ORCPT ); Fri, 28 Jul 2023 04:56:28 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 36FD33A97; Fri, 28 Jul 2023 01:56:13 -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 069F2D75; Fri, 28 Jul 2023 01:56:56 -0700 (PDT) Received: from [10.57.0.116] (unknown [10.57.0.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 84E1A3F67D; Fri, 28 Jul 2023 01:56:09 -0700 (PDT) Message-ID: <1a5da775-6a04-1be0-f808-6059250b8d35@arm.com> Date: Fri, 28 Jul 2023 09:56:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v1 1/6] perf bpf-loader: Remove unneeded diagnostic pragma Content-Language: en-US To: Ian Rogers References: <20230728064917.767761-1-irogers@google.com> <20230728064917.767761-2-irogers@google.com> Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Nathan Chancellor , Nick Desaulniers , Tom Rix , Kan Liang , Eduard Zingerman , Andrii Nakryiko , Gaosheng Cui , Rob Herring , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev From: James Clark In-Reply-To: <20230728064917.767761-2-irogers@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 28/07/2023 07:49, Ian Rogers wrote: > Added during the progress to libbpf 1.0 the deprecated functions are > no longer used and so the pragma can be removed. > > Signed-off-by: Ian Rogers > --- > tools/perf/util/bpf-loader.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-loader.c > index 44cde27d6389..8f4c76f2265a 100644 > --- a/tools/perf/util/bpf-loader.c > +++ b/tools/perf/util/bpf-loader.c > @@ -32,9 +32,6 @@ > > #include > > -/* temporarily disable libbpf deprecation warnings */ > -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" > - > static int libbpf_perf_print(enum libbpf_print_level level __attribute__((unused)), > const char *fmt, va_list args) > { Acked-by: James Clark