From patchwork Wed Jan 10 02:56:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruidong Tian X-Patchwork-Id: 13515626 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 65996C47077 for ; Wed, 10 Jan 2024 02:57:10 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KbMIbn8MQbaYvt8wm0Q0RiTf+zMQPsoHkeJcY66Z8Hc=; b=X59NHqiORw+BgA lhaJtI4IeQ/TySXIwIaqn3fZrIP2OcTn7fPh09iVSa5XYx1716lWRItSo+3nTkwzGVIBxhdWlCBx0 8iBWGw8RcvXN22px2nanVtl/zbQ5LCQaleCkciXgdFYbhkY2pvNQQFNedZNcS6okkBQnRSv896P/+ 7Q9gUe4QZSDULevxwFXQnq04d3RQnCbM+CcKjvF4xN0SPFExWZHp5Is1CMxl8uEgCeFh8ZRhIdRJw gzSZ9pVjl/b+ZL4CCXz9oQxgigCY/wrDGnyfX1TZP22cJBm46/dqRAd7lQag6ubCqvbJdd0sccJKf cnnnyCsy+z7okIf3IfPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNOlh-00AAVu-2N; Wed, 10 Jan 2024 02:56:37 +0000 Received: from out30-99.freemail.mail.aliyun.com ([115.124.30.99]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNOld-00AAT6-28 for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2024 02:56:35 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=tianruidong@linux.alibaba.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---0W-KUuV9_1704855379; Received: from localhost(mailfrom:tianruidong@linux.alibaba.com fp:SMTPD_---0W-KUuV9_1704855379) by smtp.aliyun-inc.com; Wed, 10 Jan 2024 10:56:21 +0800 From: Ruidong Tian To: linux-kernel@vger.kernel.org Cc: james.clark@arm.com, coresight@lists.linaro.org, suzuki.poulose@arm.com, mike.leach@linaro.org, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, al.grant@arm.com, mathieu.poirier@linaro.org, tor@ti.com, acme@redhat.com, Ruidong Tian Subject: [PATCH v2 0/1] perf scripts python: arm-cs-trace-disasm.py: print correct disasm info Date: Wed, 10 Jan 2024 10:56:16 +0800 Message-Id: <20240110025617.66646-1-tianruidong@linux.alibaba.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20231214123304.34087-1-tianruidong@linux.alibaba.com> References: <20231214123304.34087-1-tianruidong@linux.alibaba.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_185633_867241_10552E46 X-CRM114-Status: UNSURE ( 7.14 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Now the instruction flow disasmed by arm-cs-trace-disasm.py is ambiguous and uncorrect, fix them in one patch set. Please refer to each patch for details. Changes since v1: Applied all the suggestions from James and Leo of v1. James: https://lore.kernel.org/lkml/912a39f4-025e-26a1-7786-091fa211f293@arm.com/ Leo: https://lore.kernel.org/lkml/20231224083332.GB13521@leoy-huanghe.lan/ Ruidong Tian (1): perf scripts python: arm-cs-trace-disasm.py: add option to print virtual address tools/perf/scripts/python/arm-cs-trace-disasm.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)