Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp804502rwb; Thu, 6 Oct 2022 04:55:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5WUiRSaDBKUqdJt6rS/B5pExcahOCww7bDMZqCuL7hexcfA4RUl5X2S60dSpmKIV3EvrgF X-Received: by 2002:a17:906:5a5e:b0:78d:2ed1:5b07 with SMTP id my30-20020a1709065a5e00b0078d2ed15b07mr3781510ejc.38.1665057313793; Thu, 06 Oct 2022 04:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665057313; cv=none; d=google.com; s=arc-20160816; b=sn98XkOpYnfp1VxC8n6tQraOMKIpAzLalV/kbYsFxp5oo6RnisCZWXgs6nk9JqFHrY 1dSOYZ//lyUKWyqj+GNe+X3CyeflINCc71RKWSJeAKiLXKsP1U3w8aaWmrXTmM0ZTiOv UdmgvV13GSoLItKSJ69AdWA6MTf5SoYqDZ0U6oKUU8tFeR/sJekdzYYtwthe6t8KcIMm Iym9rXVPZTYQO6jFizjqYQPu4YEQ5G0wOLI5ECwpIt6QrZkUb9CERofgVU0IzAkJXv0i Nri/xuZ5xYMykPyS7bdTucbfCQo3r0zsNqf4uWG7JxnFsX+9xhKvSKEJCWnr2D73eywu JAkg== 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=u7q6HK/bggk2Wxck+gIfNY37FF34yLKZ6/IXkEeUMHA=; b=DtDJBYA+CKQUDOtjPAlphXurs0Ti3EEZQpUyVoQY9uzhigZMWdpOrHiCg+C0zWLogc TuAwMzaibKmGmo9mbJcU+7cyuEvV+MYauB25+CZZctzCfjpMY1gkV5df2MS/HIjo40B0 RLtRKRejv/G/LfPsugs8wBbqbyjFiztsvazJsNb3xKjbYB/EAQxPzaWtRXxberEVpyRu GyhSXa7c9SWDip9DVLQWA4FU5q4yJ/dD5+u2T52e2XUiOgI+IuhOPJMnfOLgmp89/6Dp RNlaq7VDb0GqfNanXQWFHgUlk0TVyiDceIrfA0WWLRxz+E/WVwuikeZvZi+0aUPFL6Yi B+fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iuib0PxM; 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 j5-20020a50ed05000000b00456c837e3d0si11347930eds.77.2022.10.06.04.54.48; Thu, 06 Oct 2022 04:55:13 -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=iuib0PxM; 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 S229565AbiJFLp2 (ORCPT + 99 others); Thu, 6 Oct 2022 07:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbiJFLp0 (ORCPT ); Thu, 6 Oct 2022 07:45:26 -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 30CF12ED57; Thu, 6 Oct 2022 04:45:22 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 523CD61913; Thu, 6 Oct 2022 11:45:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86430C433D6; Thu, 6 Oct 2022 11:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665056721; bh=Q1eZazJ5RxfOSUkA0Gm/LTBZPqBKWabbaJQay1sX0gs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iuib0PxM7Ad/imn7FUYlsTSVAK0BmQQmFZbxEpQOA2pRhjmS/Z1KmP8p3DQqlSmT4 vWH3OdKtKsGmbCyB3y0q8gC0LjtGTYFVLF9Tt+BXX9mJwGAXbzyOsy0qsLTpGpTqzJ CTz/tmR6rOuc9eyp0dpLZqYDaIZfcMSImQ2OgzZaZTljmCZPu6iz0uStfWhnz4Jf5s ql8KNth1zbfAaIUv212fEZzGcGzbnqMkfVLQRSLovOrvjoQqA/FpwKs3RjEMSXpjjU AH4iKfPcN3eV/5ir8QFLyZPvjNNud3Z79mr3Ti3Ge2Vs/+RC+uYlcNmW9DgRUFDpxj TaSMiSmbkGnaQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id C244D4062C; Thu, 6 Oct 2022 08:45:18 -0300 (-03) Date: Thu, 6 Oct 2022 08:45:18 -0300 From: Arnaldo Carvalho de Melo To: carsten.haitzler@foss.arm.com Cc: Jiri Slaby , linux-kernel@vger.kernel.org, coresight@lists.linaro.org, suzuki.poulose@arm.com, mathieu.poirier@linaro.org, mike.leach@linaro.org, leo.yan@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 Thu, Oct 06, 2022 at 08:26:00AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Sep 09, 2022 at 04:27:52PM +0100, carsten.haitzler@foss.arm.com escreveu: > > +all: shell_compatibility_test $(ALL_PROGRAMS) $(LANG_BINDINGS) $(OTHER_PROGRAMS) tests-coresight-targets > > > > # Create python binding output directory if not already present > > _dummy := $(shell [ -d '$(OUTPUT)python' ] || mkdir -p '$(OUTPUT)python') > > @@ -1007,6 +1015,9 @@ install-tests: all install-gtk > > $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib'; \ > > $(INSTALL) tests/shell/lib/*.sh '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib'; \ > > $(INSTALL) tests/shell/lib/*.py '$(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 > > Added a missing ;\ on the line installing the *.py and adjusted use -m > 644 for the .sh files to follow what was done in: > > 0a9eaf616f29ca32 ("perf tools: Don't install data files with x permissions") > > @@ -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 -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/coresight' > + $(Q)$(MAKE) -C tests/shell/coresight install-tests > 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: 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/ - Arnaldo