Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp376018rwi; Mon, 10 Oct 2022 01:24:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ogwrJE8+Zm1RrJWFx8GiBVlN43+1k4IAsjjWOSR10RN6VeJMHp9P175nV1nn1+xA3M5HG X-Received: by 2002:a17:906:9745:b0:78d:480f:cee7 with SMTP id o5-20020a170906974500b0078d480fcee7mr13779604ejy.192.1665390264416; Mon, 10 Oct 2022 01:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665390264; cv=none; d=google.com; s=arc-20160816; b=WwEQw0MZC3D+9So9J3s9fnkM8GAR2ScA5nY4v9YNBT77bJhWO1b+/yfIAMCDeRIgTR z/iOpjAInYnjBhEzTSNfvvTgBm36UtPzXNvGte28UPbWhP02UIBQ/mk3oap+beLOFOdm mnFxZEe3RC5j04AeMKvNx15kIY5e0k3I1zdReYYcy4SAGpDZQPi9TFqJ/ns9YyPX07Pz 0yU4fy5J2LtcfgGlJOIrGWhtKjEieY8I+nkkIMmNtE6ACKuYUGZkraBp1QobQ6Ip7txW EkHAZ2rKTaCVZ9NadpquypGStnRnhzcycvIU/KWdv+VT4x/7uOQ556sIFkZ6Dea3t5Iq gy0A== 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 :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id; bh=/aeAN46NENYEZASF7Kjzfn7ipP3xKg5BDbbM0pBiKuQ=; b=XCu0dditShpkWNMN7zVJICfm3ud7ENfJSTRifupxbbmxlewPy1r6WEFmm041ubuozA w6iRsuFEAK5YdZd/snC9gYi02mMQ5B/LymrYdN97Drv5DRPGPOIYtQ8Voh3OkfHkaZN/ KiT6531ki3z5yAraUP5hxiJLFHPEe7iqKo9IHvFA9Kib0US9NMj2j8FSqFdl4FTfO4zm isUbYLnguEeoNNe/m41xdZSh5OgqJPhyK2zush/F5gdBv8uRXLty2vfaZiwG1hB5ALqs 3DI2DcRgdgNJqoRXLvXOWWcVlLK5d5zTal4vnErLPxe3ddzzGBoY2d8p2wuGoVD7nOvk 7JpQ== 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 y8-20020a056402270800b00458c243d2absi10109769edd.506.2022.10.10.01.23.56; Mon, 10 Oct 2022 01:24:24 -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 S230421AbiJJHCk (ORCPT + 99 others); Mon, 10 Oct 2022 03:02:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230187AbiJJHCf (ORCPT ); Mon, 10 Oct 2022 03:02:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF5BF3B713; Mon, 10 Oct 2022 00:02:31 -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 B193F1480; Mon, 10 Oct 2022 00:02:37 -0700 (PDT) Received: from [192.168.99.12] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2F0E03F766; Mon, 10 Oct 2022 00:02:30 -0700 (PDT) Message-ID: <0b3afc5d-c4a1-8a50-45c3-20c706c3ecfd@foss.arm.com> Date: Mon, 10 Oct 2022 08:02:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v9 02/13] perf test: Add build infra for perf test tools for CoreSight tests To: Arnaldo Carvalho de Melo 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 References: <20220909152803.2317006-1-carsten.haitzler@foss.arm.com> <20220909152803.2317006-3-carsten.haitzler@foss.arm.com> Content-Language: en-US From: Carsten Haitzler Organization: Arm Ltd. In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 On 10/7/22 13:44, Arnaldo Carvalho de Melo wrote: > 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. oh cool. i'll let patches sit for now - let me know if there's anything you want/need from me.