Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp901719rwb; Fri, 7 Oct 2022 05:48:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6QyMshn0JuwRk0btjcc/7nIoHwGfpyvZZ1l65zAUwwWHv5AYbQvn2vSgynpOPySKEotrse X-Received: by 2002:a65:48cc:0:b0:45f:795:c374 with SMTP id o12-20020a6548cc000000b0045f0795c374mr1466181pgs.107.1665146888604; Fri, 07 Oct 2022 05:48:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665146888; cv=none; d=google.com; s=arc-20160816; b=RjJHnqjnU/wtH6Xd0Gqs//tJGiEtNyXAJuQeY7CiEaHO0ntviAj52JI3mLbneMcdyg DCKHtCagLYxLzi0LQaDBEdIOcKjnYBWglr1fOuavU6RtxOEVmP1mJmqT+UPRh+f3xuUX /J8p/n3V9Fic2TD2bWVHBLsCwhNUi7ijyEmDBr37qnrNbZinEbAsfHOz7dn+9EbnKOzf w0uQ7SO0w8mYHJ9Z/pxiaAqO7zQzG8kd6TsvVC4OPFDtXP48TM7jt9BEny+aqnBU3uWS BCQR6xNUQZU6P0GmJ1/hl+x2c6tr7h7K/lY+KF2UGw5ESUHT1R0Q3lu0q27q1/y4j4Og QltQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5TWrz8uqwqo7dh5hkiUbTpymlDRgwQOWCP92868Jsfk=; b=Ar8EmTULvmKMX/kUrBA5rPRuhF9FjugUoT7EixAmt7jIhyRi4CTTMkqnKL3hWnxkaz z/qJ+2PAQiCiIhVWFN7oaoJZxlHBC6HV5d4vymWiLo9qLgxi84LIe0jUlxbkOdsEmBYq xKTydB0VApjujPQS/ebEIbmUWUxpvk56B2thnpL3lo/EV4JkILdY2DQ4A5CWMQ7N3uc+ CkTr9mtLl0uAl95JZ4/l/BhD2PW1v8Px43ipaY4FjlHwRnnXnOpxb4hMgDQ7RM/JTfX9 5xvk7GLQtfb4IzXjiVvqyNDYp3Y+mXo/Cmcw8TAad5Biwax/mbQTf2QoiL6BVamV+rvY PsHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hjsvpdOe; 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 p13-20020a654bcd000000b0042b6b681286si2518378pgr.84.2022.10.07.05.47.42; Fri, 07 Oct 2022 05:48:08 -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=hjsvpdOe; 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 S229675AbiJGMol (ORCPT + 99 others); Fri, 7 Oct 2022 08:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbiJGMoi (ORCPT ); Fri, 7 Oct 2022 08:44:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 808C4CAE78; Fri, 7 Oct 2022 05:44:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2B8F3B822ED; Fri, 7 Oct 2022 12:44:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96A7AC433D7; Fri, 7 Oct 2022 12:44:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665146669; bh=uP1JSwwRcUIushFlcvkfM6oZ5R02T+VIpZAyha6T7LI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hjsvpdOeX0OiEO36qY8VuJi8a7CvZ0SteG6tQiPJRUVYA5XY7JK81O6CY64usgqol 1H7d1Vqxx91WfxbeYycymYNKItgfriSmIfBUGjoEq1aEqAgJPTVZZV3XHv9dObtGOL MNA4+vuj7tSxKaORkYViIKN89hjQhKdYvaCBlSuzFekuAkUcymGme9KskzpNMvvc2g N5H17Ibvaw2Yd/asSlupU/27YWg0q8RttGE4FJWI2B6+4QnyBTGHU6rpRPTxSPKITF wUnfGY03fSvqggxrag98fNKK8YcGPmZuyeTFcMhYUpGR/xEyBjitKiCtTWEWHYm9W9 kSEOXmW8htlnQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id A4F634062C; Fri, 7 Oct 2022 09:44:27 -0300 (-03) Date: Fri, 7 Oct 2022 09:44:27 -0300 From: Arnaldo Carvalho de Melo To: Carsten Haitzler Cc: Leo Yan , Jiri Slaby , linux-kernel@vger.kernel.org, coresight@lists.linaro.org, suzuki.poulose@arm.com, mathieu.poirier@linaro.org, mike.leach@linaro.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH v9 02/13] perf test: Add build infra for perf test tools for CoreSight tests Message-ID: References: <20220909152803.2317006-1-carsten.haitzler@foss.arm.com> <20220909152803.2317006-3-carsten.haitzler@foss.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, Oct 07, 2022 at 12:34:51PM +0100, Carsten Haitzler escreveu: > On 10/6/22 13:58, Leo Yan wrote: > > On Thu, Oct 06, 2022 at 08:45:18AM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Oct 06, 2022 at 08:26:00AM -0300, Arnaldo Carvalho de Melo escreveu: > > > Also had to remove: > > > $(INSTALL) tests/shell/coresight/*.sh -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/coresight' > > > from this patch, as it makes install fail at this point in the patchset: > > Thanks a lot! > > James and me had found the merging conflict and planned to send out > > email for reminding it, the right change for above section would be: > > @@ -1006,7 +1014,10 @@ install-tests: all install-gtk > > $(INSTALL) tests/shell/*.sh '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell'; \ > > $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib'; \ > > $(INSTALL) tests/shell/lib/*.sh -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib'; \ > > - $(INSTALL) tests/shell/lib/*.py -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib' > > + $(INSTALL) tests/shell/lib/*.py -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib'; \ > > + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/coresight'; \ > > + $(INSTALL) tests/shell/coresight/*.sh '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/coresight' > > + $(Q)$(MAKE) -C tests/shell/coresight install-tests > > It's deliberately to not add '-m 644' when install coresight test > > shell scripts under the folder tests/shell/coresight/ so that we can > > keep the executable permission for these scripts. On the other > > flip, we set 644 mode for the scripts under tests/shell/lib/ so > > these scripts will not be executed directly by perf test framework. > > @Carsten, if have chance could you confirm for above change? > > > DESCEND plugins > > > GEN /tmp/build/perf/python/perf.so > > > INSTALL trace_plugins > > > INSTALL binaries > > > INSTALL tests > > > install: cannot stat 'tests/shell/coresight/*.sh': No such file or directory > > > make[2]: *** [Makefile.perf:1007: install-tests] Error 1 > > > make[2]: *** Waiting for unfinished jobs.... > > > I'll add it back when the first .sh gets added to tests/shell/coresight/ > > Sorry for introducing extra efforts for you and thanks! > oh sorry - indeed i didn't see this problem coming after fixing the > conflicts. i've got an update of the patches that fix that. should i just > send through the 2 updates patches as a v10 or the whole series? No need, I did some fixes taking into account the comments on this thread, we can go on and fix things from what I have now at acme/perf/core, which I'll send to Linus today. - Arnaldo