Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1954239rwl; Thu, 30 Mar 2023 04:04:05 -0700 (PDT) X-Google-Smtp-Source: AKy350Zo91CODHwlNqPE18GPzMNwolDuXapQ2dI2zHr2GUZvUvw5QI9tS2kWpS6lzKYNEiqpdwsh X-Received: by 2002:a05:6402:268e:b0:502:1f7b:f0a6 with SMTP id w14-20020a056402268e00b005021f7bf0a6mr24019142edd.0.1680174245001; Thu, 30 Mar 2023 04:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680174244; cv=none; d=google.com; s=arc-20160816; b=UPA0CfhXSkAYUZupuZtD1Vxw2X5FZooQAgqFIilAdyO1bl8MIezFAVerwiDJCLxZCt Y9LZifhPoWlo9DCVrAHGx8rf/8azA8cDceAiPsETKi5zj4InWQDID6aja6bw1nLNnd7l RlFDqbC5tMY8HzHlqYuaDNu8n+hZcEMcEg2QoMV5jwXHYmmmoMnsv8CuXyEcoZ9qAV5u jNHf/D7eTh8K9NlHMhnvuIRlp0Cztcgx1p/jp34hhtPl/DBmqSWabACG5MKkkxP79/+i K8oy7yoAmbkM9n83XIytfYcv9YZXJI4OzpCc86DkOem+6uQUhw+DvvRGkU+nubPvBmu+ z6fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=xyHe3TKTtxMawKsNnPQ/LZ+rcnUKzYPyj7H+I/uHv9s=; b=x3AxiprK7j60tHgb3PFh0yjzetUWyvuN9DFe7BTEoxbZEvTw+ry4YZNvsL/qBWD0Tg 6rIEjsELB0u/wMh2iGPaF9VKpwiuXKmHFwALznvRX+WPae44/DFK5J9s7ZTJNXUxW+ve rfm+iAIkq6vqBImAsOvSvbibOfivFx6dNAosSuU5YvenMKpfgpZ6OqUdiPsZxGvLgu3r BMGkr2SRVmxUD5V0un2fzRfJbcVOQgt9LLHjPMneGKJ+DBiHANelnRcKTL6VE9Iqm6VM ggAWCCkRE12RcASy5fdGiWZzz3zWRarEZWZXyglkEYiQG/JFuoXXSybBOtaC83W/z1PQ yTYA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a056402054300b005002e947c3fsi36840955edx.119.2023.03.30.04.03.17; Thu, 30 Mar 2023 04:04:04 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231191AbjC3Kzk (ORCPT + 99 others); Thu, 30 Mar 2023 06:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231348AbjC3Kzd (ORCPT ); Thu, 30 Mar 2023 06:55:33 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F298B9009; Thu, 30 Mar 2023 03:55:21 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DDE4F2F4; Thu, 30 Mar 2023 03:56:05 -0700 (PDT) Received: from [10.57.56.86] (unknown [10.57.56.86]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 19F533F73F; Thu, 30 Mar 2023 03:55:18 -0700 (PDT) Message-ID: <20c28979-53a7-19eb-16fd-4d8535454d4e@arm.com> Date: Thu, 30 Mar 2023 11:55:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v8 1/3] perf: cs-etm: Move mapping of Trace ID and cpu into helper function To: Leo Yan , Arnaldo Carvalho de Melo Cc: Mike Leach , linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, will@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, gankulkarni@os.amperecomputing.com, darren@os.amperecomputing.com, James Clark References: <20230329111422.3693-1-mike.leach@linaro.org> <20230329111422.3693-2-mike.leach@linaro.org> <20230330031307.GD252145@leoy-yangtze.lan> From: Suzuki K Poulose In-Reply-To: <20230330031307.GD252145@leoy-yangtze.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 On 30/03/2023 04:13, Leo Yan wrote: > On Wed, Mar 29, 2023 at 07:14:52PM -0300, Arnaldo Carvalho de Melo wrote: > > [...] > >>> Not here, I'll check after a call: >>> >>> 50 9.90 ubuntu:18.04-x-arm : FAIL gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) >>> arch/arm/util/cs-etm.c: In function 'cs_etm_save_ete_header': >>> arch/arm/util/cs-etm.c:720:29: error: implicit declaration of function 'coresight_get_trace_id' [-Werror=implicit-function-declaration] >>> data[CS_ETE_TRCTRACEIDR] = coresight_get_trace_id(cpu); >>> ^~~~~~~~~~~~~~~~~~~~~~ >> >> This function was removed in: >> >> Author: Mike Leach >> Date: Wed Mar 29 12:14:21 2023 +0100 >> >> perf cs-etm: Update record event to use new Trace ID protocol >> >> Trace IDs are now dynamically allocated. >> >> I'm removing this series from perf-tools-next, please address this issue >> and send a v9. > > I can reproduce this building failure. I am curious for how to verify > building for patch wise, the link [1] gives me some hints and below > command works for me: > > $ git rebase -i --exec "make -C tools/perf clean && \ > make -C tools/perf VF=1 DEBUG=1 CORESIGHT=1 && \ > make -C tools/perf clean && \ > make -C tools/perf VF=1 DEBUG=1" HEAD~3 Looks like perf-tools-next has some changes that has not reflected elsewhere. The ts_source patches are queued there, which is causing the above build failure. Mike, Are you able to rebase your patches on perf-tools-next branch ? Kind regards Suzuki > > Thanks, > Leo > > [1] https://stackoverflow.com/questions/26983700/git-run-shell-command-for-each-commit