Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1176485rdb; Wed, 16 Aug 2023 04:14:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2T7anqCJNFaTi4VZBlkW7gyD4B/kDGrMc4BflJ9xczRhopjUoGH0UFX2JeT2WvlwNSDfE X-Received: by 2002:a05:6a00:2e91:b0:687:f846:19dc with SMTP id fd17-20020a056a002e9100b00687f84619dcmr1724660pfb.23.1692184493742; Wed, 16 Aug 2023 04:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692184493; cv=none; d=google.com; s=arc-20160816; b=qjsjHg4Dt0x6QhvEUrwKH/uZ/ryiNSNkDMRHmw/DMFRv5UVu4SZi4jtWnQvZlz7DIh k8WT6+qeI5TkKlAw7e4Xpw6kP4oWi6FqLCJCekjuYElCXqPkKWko2zKgKilAXL7fi4WP sHL7vH6PfavPkqbeqJkI+SoMaDhHm0iXGV7nBP2pDZUhRjVX91AihbhyK13Kq6U2itv3 I1PrJoyt0tNNeJvNqdrrnGM3ZXiG2TykOXxZNha9Hvb3Pq69joS+FfclYm6ZgYMsGX3f yiu9xxccIKdzJvGpQzG3GKAEWYt/XnWUkFLMIV7HitGPCxE3PMuJdmp5DYs2po2xd66P yB+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0f3+SLucg33MDHZqrG/BXMYw7rAfAdGM8SO9yYjRiJo=; fh=2ugURuSgUDe5c6hqZPTjJXoFPvhKazCJfjAKzas2jtk=; b=WaG3R2PIDOTJvPrex0bRtAQfhIPY+BImuWRshzkEPCIPvcH5hIFcLV4g9NBYaVF56v hqMSXND2gWmPtJxit7rSyVEGKe6izm5kSsCB/IVgdJFFEAUmq480+6snB4aLf3pN2Nv+ /DlZNzpNT36ExOcx1sCS1q+RJ+dZqnu3o+bKi8J92/Y5qZrRqMNWh58wHD93woacAUHW zdLqL3BAn3L3VyccXJv906Zz49ARY5e44MJjM8YP6jfad0zXGF+UCWcfqPkx/2hBSDJx Zef+PAeXiSDlrBiTlcmEB78vkBwem8M4xXjd3CKRxA84EMlQAopMozjmYSRYGFgeumNT cljA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bCHXvhDr; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi42-20020a056a0039aa00b00687e0216437si11420746pfb.215.2023.08.16.04.14.32; Wed, 16 Aug 2023 04:14:53 -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=@kernel.org header.s=k20201202 header.b=bCHXvhDr; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239261AbjHOSyM (ORCPT + 99 others); Tue, 15 Aug 2023 14:54:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239614AbjHOSyK (ORCPT ); Tue, 15 Aug 2023 14:54:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993882101; Tue, 15 Aug 2023 11:53:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 57B4465FDF; Tue, 15 Aug 2023 18:52:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82C9BC433C7; Tue, 15 Aug 2023 18:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692125560; bh=WI38EkMC1ok3h4umI619BS/8GW+2Fygzgx16kxgjLZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bCHXvhDr3FPDfLnCiyo+/vOrd42yCp0baVzVj5QfHzvbX//WDDxVk1XpZxu3z8sfs D68pEnKMtVuEfwBOzaPbyv3O0M68HwXc/YvBETXtR9DVYSp84sQXHqn+Eq3Y6eMa/n RAdN+aYhiId9KQUx2CA/L7hSC4cV5diM4IdvU9MGSBnGzZ8GjePSMkCt45Ics7k2S7 SEm13/fOCuxzYFppC0l7fRAocERIn5PmvMoQt9UI8/R6JbzWXUhJIkwN1NpcKc/o0J 3UqFVGeRLznfDbpdJlIf25cjfJOfMxnpOmuEEI00MzpJBQ++TPEW80kEmxKmawMEND rWCmcLR58WqLQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 4A884404DF; Tue, 15 Aug 2023 15:52:38 -0300 (-03) Date: Tue, 15 Aug 2023 15:52:38 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Leo Yan , John Garry , Will Deacon , James Clark , Mike Leach , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , Huacai Chen , Ming Wang , Eric Lin , Kan Liang , Sandipan Das , Ivan Babrou , Fangrui Song , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 0/6] perf parse-regs: Refactor architecture functions Message-ID: References: <20230606014559.21783-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Aug 15, 2023 at 03:45:27PM -0300, Arnaldo Carvalho de Melo escreveu: > > Agreed, applied to perf-tools-next, sorry for the delay. > > Had to add this to make 'perf test python' to work. Please run 'perf > test' before sending patches. One more, please also do a 'make -C tools/perf build-test', with it I caught this: make_no_libunwind_O: cd . && make NO_LIBUNWIND=1 FEATURES_DUMP=/var/home/acme/git/perf-tools-next/tools/perf/BUILD_TEST_FEATURE_DUMP -j32 O=/tmp/tmp.yeEGyQq2HR DESTDIR=/tmp/tmp.ITgoO16jjH cd . && make NO_LIBUNWIND=1 FEATURES_DUMP=/var/home/acme/git/perf-tools-next/tools/perf/BUILD_TEST_FEATURE_DUMP -j32 O=/tmp/tmp.yeEGyQq2HR DESTDIR=/tmp/tmp.ITgoO16jjH CC /tmp/tmp.yeEGyQq2HR/util/expr-flex.o util/unwind-libdw.c: In function ‘memory_read’: util/unwind-libdw.c:173:28: error: implicit declaration of function ‘perf_env__arch’ [-Werror=implicit-function-declaration] 173 | const char *arch = perf_env__arch(ui->machine->env); | ^~~~~~~~~~~~~~ util/unwind-libdw.c:173:28: error: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] util/unwind-libdw.c: In function ‘unwind__get_entries’: util/unwind-libdw.c:258:28: error: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 258 | const char *arch = perf_env__arch(ui_buf.machine->env); | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/var/home/acme/git/perf-tools-next/tools/build/Makefile.build:98: /tmp/tmp.yeEGyQq2HR/util/unwind-libdw.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/var/home/acme/git/perf-tools-next/tools/build/Makefile.build:150: util] Error 2 make[4]: *** [Makefile.perf:662: /tmp/tmp.yeEGyQq2HR/perf-in.o] Error 2 make[4]: *** Waiting for unfinished jobs.... CC /tmp/tmp.yeEGyQq2HR/pmu-events/pmu-events.o LD /tmp/tmp.yeEGyQq2HR/pmu-events/pmu-events-in.o make[3]: *** [Makefile.perf:238: sub-make] Error 2 make[2]: *** [Makefile:70: all] Error 2 make[1]: *** [tests/make:337: make_no_libunwind_O] Error 1 make: *** [Makefile:103: build-test] Error 2 make: Leaving directory '/var/home/acme/git/perf-tools-next/tools/perf' real 1m29.784s user 10m41.597s sys 2m55.948s ⬢[acme@toolbox perf-tools-next]$ I'm trying to fix