Message ID | 20230311065753.3012826-4-irogers@google.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp169962wrd; Fri, 10 Mar 2023 23:50:24 -0800 (PST) X-Google-Smtp-Source: AK7set8Yen/qpf48nXZerJa7TDzHWHT2GuSmKmRlG6Q8tlkajxdWTLg/5VpfNXQDLmt4u/EhEOXq X-Received: by 2002:a05:6a20:3a89:b0:cc:395f:e1ea with SMTP id d9-20020a056a203a8900b000cc395fe1eamr26248305pzh.11.1678521023830; Fri, 10 Mar 2023 23:50:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678521023; cv=none; d=google.com; s=arc-20160816; b=FXkxHaWgvMxVgEKSVR8WAKR6QwgdA7nD8C50sVTMWy048mg/CMTAzThDvqBKg7pNtC o51bFF1ECiwt9QDepCbrGnKO5cTe/pLGY17t0js/0aDphXy97HJmc2DgwAYicRILd5BC 8E7eyWdfTO2FKfI+wxDQMBd8k71pl+X5WC3ULDksVJH4tUk58hPDK0yfXaVbMSaQkJgg 5Jj4kb6w1/8Pql+w9talx/rID4SiDwrj3cWIjLvEckOjW6BrTBeyGFSrdZUAz1YGkIA+ FmAspgHyTQIyePunBKL7oQd/GSYwkCiIb1ajbe2+t2qpH/jEqQNY4mzHjGthuXu0/eT1 uefA== 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=3NhwBTfmVglAZRqsQmhfe71Rzl22nzSJC9LqarCaKaI=; b=XVEJXOEouR9mTZk+wQFjjP7xCHA2a8W6p1mRFmO4o4G9EiY+Rso1g0CGZun/f56tsa 8rEcO0DUVxn9GQIxEiza7YnVgPK1lzpjcc+a9OqfaRpW1mGWhUoREUZPeVUasNbEzpJ3 W9wqSByXxiv7LXIgdga+lgfakECLZqEYL4PQep6OVngbeh0J9YiB+XjtQUDNkh0vDT5A QZplJG1CpNJ9uRYIY81VJxmXHPirmOEQHXh0fRYogtMqe+5sqfhHTyM0PZXhrwu5kc4H FdNOEvzGsqlokPSzr6to+fJK+GYcMxbB7dBuMzLI5BvI+u/CpwuV6Avh14QeA89prUGx Iiug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fElNmip0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l69-20020a638848000000b00508bbf1942esi829786pgd.678.2023.03.10.23.50.02; Fri, 10 Mar 2023 23:50:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fElNmip0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229996AbjCKG6s (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Sat, 11 Mar 2023 01:58:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbjCKG6l (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 11 Mar 2023 01:58:41 -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 354234E5EB for <linux-kernel@vger.kernel.org>; Fri, 10 Mar 2023 22:58:28 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id p79-20020a25d852000000b00b32573a21a3so3094978ybg.18 for <linux-kernel@vger.kernel.org>; Fri, 10 Mar 2023 22:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1678517907; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=3NhwBTfmVglAZRqsQmhfe71Rzl22nzSJC9LqarCaKaI=; b=fElNmip0BTpEUcUnQZTbwScWF+byjtbSTr1v+/fNKXShFigaOgNUsPUyepDifsXFRM GjtYEjMaWAmilGB5L+qcsVGjEjSGMd/LeJ4G4PISm/Qcr6mSeFSRGXMwIFTXlqpoDxqx uvOL6laMJmAF+1dp81n9lTMrmeOS29PZsukS94k2PzLInHyjjAn0Ikca29z18M4cqC9P pDbHtcs1qt0NwF2biwm7j/d3u91cLM2DA31ZRrxK9fk59zZkHZNyQju0Itf0+jXrviS2 yX4IFl6BnsYqfYyCOaJ7WasvY5zSSdx4oLpfJ3YYqOWxo4POEGnix1tjSlJfAFmpqAK2 kvWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678517907; 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=3NhwBTfmVglAZRqsQmhfe71Rzl22nzSJC9LqarCaKaI=; b=wdEKy2Hhz9iJ8vVnQSmLUFGPH79kCkgQIoBe6gqxCd752gFZlpNVRRwlYRtuyN1I0f nOfd+fyPT8nGSu5mqHoql2IoZOgUhWCaNemArm+xb+DBLNVLsvsEjmwIQJI/alPI/9/n KDrFb4dPfNBI62OqEQOr3Z1shjnnWRRXmEC6XfkS9QbZWu6wLO0h0iLkVIF/48sZ7CJQ o0jUEZLi/QYm5zqDwpHrL/i0xUlq/zTqgVHBghjq9YPGMm4cjm6+THRtuy0UVlhU0m3L HjnUMpUZEtSe/VSN26amrcfT0dYmruIm19tZW2iB2GOIDZH3QRCit/IeC2WFfWbyc47a OHxA== X-Gm-Message-State: AO0yUKV8xDQCg76Lgbul5VvNuniK7/ii9yOrzuZ1HDqhzfXZ62kaHPR+ 4aoyj3dtKSlzIcTCDkJbz0Gpi2wG9y/S X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:a11d:a763:a328:f2d6]) (user=irogers job=sendgmr) by 2002:a81:ac1a:0:b0:533:cf4e:9a80 with SMTP id k26-20020a81ac1a000000b00533cf4e9a80mr17706404ywh.6.1678517907341; Fri, 10 Mar 2023 22:58:27 -0800 (PST) Date: Fri, 10 Mar 2023 22:57:43 -0800 In-Reply-To: <20230311065753.3012826-1-irogers@google.com> Message-Id: <20230311065753.3012826-4-irogers@google.com> Mime-Version: 1.0 References: <20230311065753.3012826-1-irogers@google.com> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog Subject: [PATCH v1 03/13] perf build: Remove unused HAVE_GLIBC_SUPPORT From: Ian Rogers <irogers@google.com> To: Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Tom Rix <trix@redhat.com>, Roberto Sassu <roberto.sassu@huawei.com>, Quentin Monnet <quentin@isovalent.com>, Andres Freund <andres@anarazel.de>, Tiezhu Yang <yangtiezhu@loongson.cn>, Pavithra Gurushankar <gpavithrasha@gmail.com>, Yang Jihong <yangjihong1@huawei.com>, Adrian Hunter <adrian.hunter@intel.com>, Leo Yan <leo.yan@linaro.org>, " =?utf-8?q?Martin_Li=C5=A1ka?= " <mliska@suse.cz>, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, llvm@lists.linux.dev Cc: Stephane Eranian <eranian@google.com>, Ian Rogers <irogers@google.com> 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=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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760056861013277174?= X-GMAIL-MSGID: =?utf-8?q?1760056861013277174?= |
Series |
Perf tool build improvements
|
|
Commit Message
Ian Rogers
March 11, 2023, 6:57 a.m. UTC
HAVE_GLIBC_SUPPORT is only used in `perf version --build-options` but
doesn't control any behavior. Remove from the build to simplify it.
Signed-off-by: Ian Rogers <irogers@google.com>
---
tools/perf/Makefile.config | 4 ----
tools/perf/builtin-version.c | 1 -
2 files changed, 5 deletions(-)
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index 33d62d542fd5..a68a3e9b47ae 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -476,10 +476,6 @@ else endif # libelf support endif # NO_LIBELF -ifeq ($(feature-glibc), 1) - CFLAGS += -DHAVE_GLIBC_SUPPORT -endif - ifeq ($(feature-libaio), 1) ifndef NO_AIO CFLAGS += -DHAVE_AIO_SUPPORT diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c index 0d9cda238c07..c5d03a11e565 100644 --- a/tools/perf/builtin-version.c +++ b/tools/perf/builtin-version.c @@ -59,7 +59,6 @@ static void library_status(void) { STATUS(HAVE_DWARF_SUPPORT, dwarf); STATUS(HAVE_DWARF_GETLOCATIONS_SUPPORT, dwarf_getlocations); - STATUS(HAVE_GLIBC_SUPPORT, glibc); #ifndef HAVE_SYSCALL_TABLE_SUPPORT STATUS(HAVE_LIBAUDIT_SUPPORT, libaudit); #endif