From patchwork Wed Nov 30 06:29:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 27606 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp758656wrr; Tue, 29 Nov 2022 22:36:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6YQvQ3DXSKGNekgbhqsgKEhuiRj3duQBSKee5ElSTmfUKkrRaueTp9zrkXiUNrZyBrrivg X-Received: by 2002:a17:902:76c9:b0:187:1c65:e208 with SMTP id j9-20020a17090276c900b001871c65e208mr49533960plt.173.1669790173723; Tue, 29 Nov 2022 22:36:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669790173; cv=none; d=google.com; s=arc-20160816; b=JHvEoTQK7TbOkBUtvLxOo7mriNW1xQmcCXn4ljUhxK6MM8VkraqhOWLPbrIWRuGgEF +bRgtMgqDCnDFWuUK7oLDbIFb8R+DUdskmid0+oLVMOul2iZvau7Z43clyL9ZtM01AsS /4YFjeX5xQdV0J3OuBCie/JnL+yqtj+Vur5gavt2l5PH612lgnf+x2qPD0AX/nIEaLuW RDY6mCKZYJyW4lmVg4rU4Q2jlKcKDFo9d7PlaR0Nt7Tf8KbZ9L3parns5oyhtwQH0NBq U+Wb9kFtYkoNhe3clVbvI+HgudSfOem8L5JUi46++PRvnf8GGMlkoSFZNnq4jR+x3tyj 92og== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h1-20020a654681000000b0046f57b135c9si504918pgr.182.2022.11.29.22.36.00; Tue, 29 Nov 2022 22:36:13 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750901901599775131?= X-GMAIL-MSGID: =?utf-8?q?1750901901599775131?= Remove git reference by changing GIT_COMPAT_UTIL_H to __PERF_UTIL_H. Signed-off-by: Ian Rogers Acked-by: Namhyung Kim --- 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 */