Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3002961imm; Mon, 13 Aug 2018 04:27:25 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxmFHXsAJWAImcpn0dyQeCp2T+G8zRuGZbU4Waucu/ShZQTsqEhxwa+5/gXc5p4/rrB7HHI X-Received: by 2002:a17:902:3124:: with SMTP id w33-v6mr16147021plb.235.1534159645367; Mon, 13 Aug 2018 04:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534159645; cv=none; d=google.com; s=arc-20160816; b=k7BAF8SMuKIoTD1n5zJIxo88mhLsycBKyOzqnGvL8S/CE5LfW1U2ZlSg6+RnBkO+w0 ymcz9UF+LeM8t7K7q3nPgw+bXQhgpT43spDew6xQe3sJixltlgukhLg/KtgxYuul+SCN gIDc5lWh0VOkL5KYsiqSRpd6KaOgXDIegbOZGdyFt9PPFuDzA+XNe65+qyfXxkQIVHyV yqn+EskNQ1nxz+dCS/fdxyFJREo1DSpURZX53o71HFU+rL4cqa6X7YP8g0Y0FfAaWZIo b+2SWNyWxLtEVWY5ywZcERw3eJWZjuxD+60/YnE1RIgnN6+jg7AqpjNaUV3R4blj3J90 RotA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=1RnLR8VIq/57HYddmzGMp42c0jB9NJ14e0xtsf6UVOQ=; b=wZAc5XmHxOJTeDP3HxsKXsSDf0dbiBen8cMpRhjC6tVuf26TD3w2aucxTqFkoaMCL8 jpAaVxUSUwCQjtQP1ZQD7e/yMNtdkCWSHw/BlJtOCaOEK2CiEQ4+h/GFRf470QvZV/g8 5pclqQuIoCfPHKRPWetf8KHB3UTtau/EDrLUuzVjXO9Ogg2bpf56U2SvaHu+a7hrbdBY pBsSJjvlBj+RypacwCEsqzwOHw8xp92QgmMrxOWV/tUt56pCZ5L/nlGhp7NVAUlOdQH0 5iXssfeKnhpiDmFBuLiZYN+KE3nasKCIoWmExG1cVTSmoAuxRk17DdHZvFdSWbaHdcld RIdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z123-v6si19511755pfc.289.2018.08.13.04.27.10; Mon, 13 Aug 2018 04:27:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729258AbeHMOEn (ORCPT + 99 others); Mon, 13 Aug 2018 10:04:43 -0400 Received: from ozlabs.org ([203.11.71.1]:54143 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728356AbeHMOEm (ORCPT ); Mon, 13 Aug 2018 10:04:42 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 41ptcr1qmxz9sBD; Mon, 13 Aug 2018 21:22:52 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 302c7b0c4ff5aed585419603f835dee30207e5d5 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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