summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/ppc.h
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2016-11-22 12:20:09 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-10 15:12:35 +0300
commit302c7b0c4ff5aed585419603f835dee30207e5d5 (patch)
tree509bc52c839c0ebdafd7eef8a52d11cfa092a31b /arch/powerpc/xmon/ppc.h
parent646dbe40fa2a54118975792fa9b98cefac7d232e (diff)
downloadlinux-302c7b0c4ff5aed585419603f835dee30207e5d5.tar.xz
powerpc/xmon: Add address lookup for percpu symbols
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 <boqun.feng@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon/ppc.h')
0 files changed, 0 insertions, 0 deletions