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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50270C2BB3F for ; Mon, 20 Nov 2023 17:46:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231352AbjKTRq2 (ORCPT ); Mon, 20 Nov 2023 12:46:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbjKTRq0 (ORCPT ); Mon, 20 Nov 2023 12:46:26 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1A8EABA for ; Mon, 20 Nov 2023 09:46:22 -0800 (PST) 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 371801692; Mon, 20 Nov 2023 09:47:08 -0800 (PST) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.25.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D26D43F7A6; Mon, 20 Nov 2023 09:46:20 -0800 (PST) Date: Mon, 20 Nov 2023 17:46:18 +0000 From: Mark Rutland To: qiwuchen55@gmail.com Cc: catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chenqiwu Subject: Re: [PATCH] arm64: Add user stacktrace support Message-ID: References: <20231118134504.154842-1-qiwu.chen@transsion.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 20, 2023 at 02:29:23PM +0000, Mark Rutland wrote: > On Sat, Nov 18, 2023 at 09:45:04PM +0800, qiwuchen55@gmail.com wrote: > > From: chenqiwu > > 2. Add arch_stack_walk_user() implementation to support userstacktrace transsionce option. > > What is this 'userstacktrace transsionce option' ? Sorry, I evidently corrupted the mail at my end; "transsionce" was "trace" in the original mail, which matches the ftrace output below. Please ignore this specific comment; my other concerns still apply. > > A example test about the output format of ftrace userstacktrace as shown below: > > bash-489 [000] ..... 2167.660775: sched_process_fork: comm=bash pid=489 child_comm=bash child_pid=596 > > bash-489 [000] ..... 2167.660787: > > => /lib/aarch64-linux-gnu/libc-2.32.so[+0xa76d8] > > => /bin/bash[+0x5f354] > > => /bin/bash[+0x4876c] > > => /bin/bash[+0x4aec4] > > => /bin/bash[+0x4da48] > > => /bin/bash[+0x4b710] > > => /bin/bash[+0x4c31c] > > => /bin/bash[+0x339b0] Thanks, Mark.