From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7D865C43217 for ; Mon, 10 Jan 2022 20:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SwP1Q+x3wlq1/2p4OE4aL2yfP/d0WRyGpFErr7ryKpY=; b=Xp1H3q9CGkgciV RaPcjIEi9RnWJ7GfxdGSYTx0IHKSswPgo+nMRo29f6beLpeSL2kneNurYZlmWtEwEhdyHY2P5ZRot chsFmZUgo4VCK25DaRO6x/NWtYkqpfwT5MSVb2OKPFC7nGewPKHBcuvujcJ8p+feTo68G6SHi/nw+ KJWMJZQAUnr4AcJJMZSx/6gWfbLM55z4h6Pnm8zPI8SxXu7fXuYaneiXIAoYiGJdcjbbYLERorQA/ vHxCFRiqXlptoUA/E1TWZd3Ueoq1PVinVH3KbWOX4CPFUAdUfVhFGetTpT86zPCqJ6kzOqepGJHlp /iogMJxb1eHEHbygY3kQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n71V9-00DGOw-6M; Mon, 10 Jan 2022 20:42:47 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n71V6-00DGOQ-Hp for linux-arm-kernel@bombadil.infradead.org; Mon, 10 Jan 2022 20:42:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RnxaBdMB55kdhaFSAWGajPl7QsFq1qbfqAmNkO87eiI=; b=hj9GAg0PlKb7AUK4c3WtgQ8EmX +H/atBnGB0cyxfQeuRwfM7A+trCOSfc3eNStld15Nn6hySP1Us5rnmmhQLfSsy7pjO8z1uOxTR58v 23P41HqX6R2Hg6D6oPn4jkhljdqpUQHLP54cpPgALfL2f3SPBGdhwpsurOP8ajG609i8ZewrLAiDK l2gaBFQT4WQFvgHtI+00Kjw0tMxK+VAEyrmmzd+OU7XENMZRP/jU8Tn/KFcf/WtRuaA3ZLxt1B7E0 W5Q5bcsclPDX1dQUlexPZbXAnfGK1jM1kXZmvxigV2QX8VJWD8Q72sqMXNuLONY2Vz+5Z3QTQ3udQ JIJ6cCew==; Received: from [179.97.37.151] (helo=quaco.ghostprotocols.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1n71V0-000SgR-6x; Mon, 10 Jan 2022 20:42:42 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 95C6940714; Mon, 10 Jan 2022 17:42:35 -0300 (-03) Date: Mon, 10 Jan 2022 17:42:35 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Andi Kleen , Jiri Olsa , Namhyung Kim , John Garry , Kajol Jain , "Paul A . Clarke" , Riccardo Mancini , Kan Liang , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Vineet Singh , James Clark , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Leo Yan , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, zhengjun.xing@intel.com, eranian@google.com Subject: Re: [PATCH v4 00/48] Refactor perf cpumap Message-ID: References: <20220105061351.120843-1-irogers@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Em Mon, Jan 10, 2022 at 05:40:12PM -0300, Arnaldo Carvalho de Melo escreveu: > > I'm now making it go thru the container builds. > > Not a good start, checking: > > [perfbuilder@five ~]$ time dm > 1 50.25 almalinux:8 : FAIL clang version 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) ^ Interesting, it builds with gcc, not with clang: + make PYTHON=python3 ARCH= CROSS_COMPILE= EXTRA_CFLAGS= -C tools/perf O=/tmp/build/perf CC=clang And it really isn't used anywhere in builtin-stat.c, will remove it after figuring out when it stops being used. - Arnaldo > 1 error generated. > 2 54.14 alpine:3.4 : FAIL clang version 3.8.0 (tags/RELEASE_380/final) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) > ^ > 1 error generated. > 3 39.78 alpine:3.5 : FAIL clang version 3.8.1 (tags/RELEASE_381/final) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) > ^ > 1 error generated. > 4 82.52 alpine:3.6 : FAIL clang version 4.0.0 (tags/RELEASE_400/final) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) > ^ > 1 error generated. > 5 113.61 alpine:3.7 : FAIL gcc version 6.4.0 (Alpine 6.4.0) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) > ^ > 1 error generated. > 6 119.02 alpine:3.8 : FAIL gcc version 6.4.0 (Alpine 6.4.0) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) > ^ > 1 error generated. > 7 64.55 alpine:3.9 : FAIL gcc version 8.3.0 (Alpine 8.3.0) > builtin-stat.c:1499:31: error: unused function 'perf_env__get_cpu' [-Werror,-Wunused-function] > static inline struct perf_cpu perf_env__get_cpu(void *data, struct perf_cpu_map *map, int idx) > ^ > 1 error generated. > 8: alpine:3.10 -- - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel