Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1947595rwb; Tue, 29 Nov 2022 23:27:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EZIWirtCnSgVgCSmkU75gPIWrbBkuKTRZc4AbyuFQxGvzi5n9WItK+BGhMpuiW8aHqF/F X-Received: by 2002:a17:902:6b08:b0:189:81da:ee15 with SMTP id o8-20020a1709026b0800b0018981daee15mr16583299plk.58.1669793261692; Tue, 29 Nov 2022 23:27:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669793261; cv=none; d=google.com; s=arc-20160816; b=j4IVIrtyNZ689zsZRPyeHqMXollpNLdQmYxMSJ8XwtX+tU0WYQkaAjj2N4SYqhBAXc 0Kv8djdtrJyivP7bDGrcSl8NLWBP6pVykCUzhB2zPU2uqXaHg/t0eC3xc0xf7TGmC1D0 eEahWxLPIh5DaqK1zCSzT377lP7dIniLqwZQZUCKyXD/E5wHnEYwlXg96EsfkU2swabq 2AHzUzslLsSoeLU75bCj1VzWjn0sU/dDnBwTNMmV0EEDgIM74QZ/UbscmTxccTdV5GR8 YTOBTJtoT5m1Kqgcgax4vbHKYmAa67cpG+APggucn42jiq1jLfUUsBW3C6WqIoDme/95 2ksQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=HZL18oOsNtp1Oe4BxfidvSOrYVVlN8hR4hEUrcdG9nU=; b=g9+3KZlwAXOFSL7V5oaprxxN47sBfhyLm8k+Mq6HluIXfJq2t+biexEH+5P3nwSzIU ZPUWJQ5MzSw2LpkjnKajRSHwGd5VF0pJpZDw+U1i6lKxmMgjE+M3ciVTQr53Sj6H/cfl /M95e9h8HkF3eMZa7fGQ3tKSRkd8HDbXnlyUExGqQGSjY1f6XXmrf8zTCKuK3H5WFlAx KsMnDUcFahJDqVZfVjTZ0ko8YzHe4CG7Gf46QqMGdHmzzc3Q59BYiQ/QIToWd9MzGYMS n35jkBksw+lpbFmkW+tF9fPpITffsK/9QJYe21Vdy11dvDw2NEvI6pvoC3WcJ+gy7iyZ Us+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=FMNA5Chj; 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 g3-20020a635203000000b0043a20d57b46si517743pgb.826.2022.11.29.23.27.29; Tue, 29 Nov 2022 23:27:41 -0800 (PST) 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=20210112 header.b=FMNA5Chj; 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 S234106AbiK3GaD (ORCPT + 85 others); Wed, 30 Nov 2022 01:30:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234091AbiK3G3z (ORCPT ); Wed, 30 Nov 2022 01:29:55 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986CC2AE17 for ; Tue, 29 Nov 2022 22:29:54 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id e185-20020a2569c2000000b006f28dd5da75so13920404ybc.19 for ; Tue, 29 Nov 2022 22:29:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=HZL18oOsNtp1Oe4BxfidvSOrYVVlN8hR4hEUrcdG9nU=; b=FMNA5Chj3DF5Qdu3T6hVsMlCz/3WveDed7pxt8kIBvy248lpr+zle/NeOz8oXOfs7G QzFUKWde6+oAcJNib3oRIUdSTXRUj1MtKsp766xkur5Dq9aq7J7VqE37bfUze29Rmhls mPSd4gW6vBhRteSIBUiSBF2Y3q3MeXJeK3gQ68ttOZ91G4VZfEKKVpZ+AYLZumpOqG8x NCMZUzM+N7HRDbW3aRPqDWpqOKispvPQVcsgHnUews4wSteZ2r3u30byQ1bLSdxfdKti D0Nz/YFcX8OD89x+W8paiyLLRzYaOYiAmSRhCXU1GPKhgPURjhVOcTfeXlMZc/jv7zaT iZog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=HZL18oOsNtp1Oe4BxfidvSOrYVVlN8hR4hEUrcdG9nU=; b=By/XGbKl2efPnseXcQ93zinjbUwhYPEJmXtZ+dCb9QZdo6OD+7hsAd2hkKQqcJcFm6 44ZSB2MA7D1Fe//tTaO5s5tzuABFmem6rXp4GYN0vRsnWJeTHggLBfVFEBYLpHjdwPA4 0YXQv85Uvn5BSxB1Th0iELjnKka9ltZKdASZRC112WLLL5j5pRPTrkWCIQf/3zH3GLsS TdmCj3W5CZT49QHhuewfUFdVhz79HoNKtXlLsv2GKJzZCZO5PesN79RsCAy5HGA59QL3 l5JWkZQAoeFSOFomcq6Uk9Fwx47J/raqIiMTM2LWS6LpPHIrWCQBemnM9s5fH6LjIA9O atCQ== X-Gm-Message-State: ANoB5pmfx6CXUvdETB9DmlBgWMRVmHGZQtVvJUGpPjUVEBc3qUmWD4c2 QPdQu3G4oOoycLAsysucMVWyWl3VAmv9 X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:788c:ccf4:3670:3362]) (user=irogers job=sendgmr) by 2002:a81:38d5:0:b0:3d2:8530:f69a with SMTP id f204-20020a8138d5000000b003d28530f69amr3905457ywa.357.1669789793849; Tue, 29 Nov 2022 22:29:53 -0800 (PST) Date: Tue, 29 Nov 2022 22:29:32 -0800 In-Reply-To: <20221130062935.2219247-1-irogers@google.com> Message-Id: <20221130062935.2219247-2-irogers@google.com> Mime-Version: 1.0 References: <20221130062935.2219247-1-irogers@google.com> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog Subject: [PATCH v2 1/4] perf util: Make header guard consistent with tool From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Masami Hiramatsu , Steven Rostedt , Adrian Hunter , Leo Yan , Kan Liang , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Cc: Stephane Eranian , Ian Rogers 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,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 Remove git reference by changing GIT_COMPAT_UTIL_H to __PERF_UTIL_H. Signed-off-by: Ian Rogers --- tools/perf/util/util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index c1f2d423a9ec..63cdab0e5314 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#ifndef GIT_COMPAT_UTIL_H -#define GIT_COMPAT_UTIL_H +#ifndef __PERF_UTIL_H +#define __PERF_UTIL_H #define _BSD_SOURCE 1 /* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */ @@ -94,4 +94,4 @@ int do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x, 0; \ }) -#endif /* GIT_COMPAT_UTIL_H */ +#endif /* __PERF_UTIL_H */ -- 2.38.1.584.g0f3c55d4c2-goog