From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD3A1EE3F10 for ; Tue, 12 Sep 2023 19:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rN4ok9jo/Ieg+r45wlJwhyxUz5mtLSdE9IZ96Y+sqaI=; b=CAWg4TgWkYHmuQ xmWixbqUzZEmY2TIIPHNn4+e9Eu64if1L+e41mxvOVnKrdv5qFX84ciFFV2nzrvwl1m0F747KamZk FcDCx6a3cjOgF/TJA41aLIUTFw+3yDCiE2MzpEtwAPeFkqiEkDpYZMtU814+9W7gmla6PI+cnnOZ1 NXv60ZLlD/xsRUyIIApB1iei9BIW6Cxv3ziGyRAPn1vXToYPMf2/YzpEhnOCoQVnaFgZHWl+7DkKf 5Ozzpfrg09zla3SELMSN8Si/wp3WQ8xub2Rh4+RzYeDqymC/7e3vHXmxj/GeXMZippwWqPfJ3wO1K 80eXfoqo1xnK4958bGeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg9CK-0043P8-2b; Tue, 12 Sep 2023 19:37:20 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg9CK-0043Om-0q for linux-arm-kernel@bombadil.infradead.org; Tue, 12 Sep 2023 19:37:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OaIGolqGH7b9QvooQsLkZz/lZXjqNqDS6TXKhcqhdNw=; b=utJ/5HLTgwFooDevuz412XbNtb Vb9S3VY+l6d26h+7t9pnIs2T33erA9QCDc5fPIQPGXEQZ6VM8GhOBSsQJ9m/WYfjx7SKeU4xTgZgm OfzCwNEb17JUlX0jvQF8tlBZOwWpfsNayeusioeyVRtAqRCXAhNOs/hXl1VK0Jp14mhnOhwkXOdwI 7i1CvH1XxZBBtcyAEO6gUC67FP+2GBTrXmvGe1Nc6GKR5FaniJVGkybs2KXF4kLcLVPY6rJ8Md5vR scQl/GYzjs9Hvl2wd6T3cxtt8UVrxWQPDJ7hYAXm19bkstOt0x3J+FOTT+yPPdkiKZHYBWU9IRzaz k9d1AsrQ==; Received: from [187.19.173.117] (helo=quaco.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qg9CI-009OvL-Er for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 19:37:18 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id AADF4403F4; Tue, 12 Sep 2023 16:37:14 -0300 (-03) Date: Tue, 12 Sep 2023 16:37:14 -0300 From: Arnaldo Carvalho de Melo To: James Clark Cc: Ruidong Tian , coresight@lists.linaro.org, mike.leach@linaro.org, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" , "linux-perf-users@vger.kernel.org" Subject: Re: [PATCH] perf test: Update cs_etm testcase for Arm ETE Message-ID: References: <20230911065541.91293-1-tianruidong@linux.alibaba.com> <446ec4c1-e97f-a5a1-9830-693dd7eec52d@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <446ec4c1-e97f-a5a1-9830-693dd7eec52d@arm.com> X-Url: http://acmel.wordpress.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Em Mon, Sep 11, 2023 at 09:51:09AM +0100, James Clark escreveu: > On 11/09/2023 07:55, Ruidong Tian wrote: > > # Iterate for every ETM device > > - for dev in /sys/bus/coresight/devices/etm*; do > > + for dev in /sys/bus/coresight/devices/$(cs_etm_dev_name)*; do > > > > # Find the ETM device belonging to which CPU > > cpu=`cat $dev/cpu` > > Reviewed-by: James Clark Thanks, applied. - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel