Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp883980rwb; Fri, 28 Jul 2023 00:59:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2Qzi1JmkkZ0rLl9ytU4rH34tm2Gg7GaQM/j4m1yGDfcA7unCeGAvdi2avtvyLKL7rIrrr X-Received: by 2002:a05:6402:337:b0:519:6a6a:7659 with SMTP id q23-20020a056402033700b005196a6a7659mr1142455edw.18.1690531189813; Fri, 28 Jul 2023 00:59:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690531189; cv=none; d=google.com; s=arc-20160816; b=MeY/zexPuQAvpXgXvVZ9LoTKIE9gm5Q0TuWmBJ8qodRpMyTWBnhsL1wJR2H5hdXUvp Z8CCEcj9Xabu0EUXA/k0Ow+m5+OyWJr+kbXwHeFWB+dE7BOK+dEksy+aFqlQmWqbOABK MI5yeJsAtHFqEpqlXpO8WHNZ2wAgB/RmnWkpd4isJRsWUx9CmauNvJurmmGoh3j8sbWX 9/oKM4u3qezMkMvvkpJKB4PTmrsvob3bvkohLuWpI5WwKD3Sj1ONfWZPaA8y9qc4Lzs0 JEtbPeTvooscAmqaY1NBHpi6Bw8bD366fwLXpDJs1LE/lE5uqwl2quAhaMQWv2KeKlW/ Eneg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=C14Lkth5YhYGrilJLa3as9gLOwkujqv4yqaGCfXT1cI=; fh=AR39VCoLgN4ugVEXyHpHAllbgzR9AE0gjQCmVObZNbM=; b=hVXu0ZN62apeoEc/7NLjCtoIHF/bqAYb0EyPPwUXmwPH64DQNvOE9J3Iq63KLT+nhN Dc/pKlvESaoVWRQ2ZTP63Zb4nRn9/6kDDkyppudieCoMuXK35RrO9nmIxfkp4V49Djio fIViBgxpNQkXNqH1Kt+nn3j+U+w0M7X2ym4lPJIqBcga2UUNgr+DCUD2o1wIv0nb0EEr kR8tlDmTi6/k0pN3noK1F9r8XuyO5LlUq0oYoU0SCXJmeNTdx9R0x5d8lAytYjn/uuPc eTE0VN8mw1tLmEeLva18r/c+KiBveE4EncHpy+eXC7pTd8MI3LUx5+aFoHpBAHd5CI6x ST+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=pTjgM814; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020aa7c38d000000b005221c984c16si2048941edq.574.2023.07.28.00.59.25; Fri, 28 Jul 2023 00:59:49 -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; dkim=pass header.i=@google.com header.s=20221208 header.b=pTjgM814; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233590AbjG1Gtx (ORCPT + 99 others); Fri, 28 Jul 2023 02:49:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233157AbjG1Gtt (ORCPT ); Fri, 28 Jul 2023 02:49:49 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 752403A8F for ; Thu, 27 Jul 2023 23:49:45 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-583b256faf5so29870027b3.1 for ; Thu, 27 Jul 2023 23:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690526984; x=1691131784; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=C14Lkth5YhYGrilJLa3as9gLOwkujqv4yqaGCfXT1cI=; b=pTjgM814griVQd95nxRaERmRO4ta0it5y0NikLDzqte4Dxn2OcWCpUMVSOvdBGreHj PZJRS4r4rVxhf29d7VG6q96fZkFs1VfPbiGyiQrPDC6Q9vUxd2rIephumHnoDhePDv2s dZbeVLCAvL5Q+Mv4ZDP+F2ec55M3eGwo3vCBg8m30lXOcsi/8UbFGTLKyJw4IeRjmbFD kTV85zxQ5M5/yBE4/QrnJEK2Mn1TnBXO1PxDUJWAlKuX+PuB0RRx31rFWa82I+LvrfuM iww3QIxpJUoNGzIl7w8eydhXRjvGgmD818Sy6noQENKa3nyDJQixl0m0FI6X5wuwbhVr Gg0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690526984; x=1691131784; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C14Lkth5YhYGrilJLa3as9gLOwkujqv4yqaGCfXT1cI=; b=TyC5zy1JSQ9M7fZR5xy4aBT1Y4I21cUKAImIA5hAvOu2WTZ6yu3xY5xC3RavYrGJjl GKsL4w1BaXgetIKtwzmHnv4xFNx+BSdvbn3aVwycKINSSN11mx7OlNZAxhGzDGPUSLou W0JuU0RgqXzsJwFyZIntaFAcklp1QSqGihdmHX2rZO1+Xv+nvun+06+xg5+NaGvj5Ezy Ti5eZWSSX+l/te3v/90zqPXmRPrVe4Mhox05QCLwOO6S/aH7+JEfytSwSxdKLGxdx5wE CvEZhKss0Xb5g7kfydYtMqolNLmGK5PB5m4jRQuSEC4elBJL7gpAm4ijwLX6PB714RRr xjig== X-Gm-Message-State: ABy/qLauvGUbPlWyO+HLvYFTG6A2KbalJc85T5qlIFjvhVpmd+e+3Kzb h4DqI3kxFeAuRmFEJ5epIXLvdexvCgg7 X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:3d03:ff18:af30:2dad]) (user=irogers job=sendgmr) by 2002:a81:c509:0:b0:583:9d8d:fb0d with SMTP id k9-20020a81c509000000b005839d8dfb0dmr10517ywi.0.1690526984540; Thu, 27 Jul 2023 23:49:44 -0700 (PDT) Date: Thu, 27 Jul 2023 23:49:12 -0700 In-Reply-To: <20230728064917.767761-1-irogers@google.com> Message-Id: <20230728064917.767761-2-irogers@google.com> Mime-Version: 1.0 References: <20230728064917.767761-1-irogers@google.com> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog Subject: [PATCH v1 1/6] perf bpf-loader: Remove unneeded diagnostic pragma From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 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) { -- 2.41.0.487.g6d72f3e995-goog