From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41ptcr3BNDzDr5t for ; Mon, 13 Aug 2018 21:22:52 +1000 (AEST) In-Reply-To: <20161122092033.7869-1-boqun.feng@gmail.com> To: Boqun Feng , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Douglas Miller , Boqun Feng , Rashmica Gupta , Paul Mackerras , "Aneesh Kumar K.V" , Andrew Donnellan Subject: Re: [RFC,v2] powerpc: xmon: Add address lookup for percpu symbols Message-Id: <41ptcr1qmxz9sBD@ozlabs.org> Date: Mon, 13 Aug 2018 21:22:52 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2016-11-22 at 09:20:09 UTC, Boqun Feng wrote: > Currently, in xmon, there is no obvious way to get an address for a > percpu symbol for a particular cpu. Having such an ability would be good > for debugging the system when percpu variables got involved. > > Therefore, this patch introduces a new xmon command "lp" to lookup the > address for percpu symbols. Usage of "lp" is similar to "ls", except > that we could add a cpu number to choose the variable of which cpu we > want to lookup. If no cpu number is given, lookup for current cpu. > > Signed-off-by: Boqun Feng Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/302c7b0c4ff5aed585419603f835de cheers