]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Like x86 we should check current->mm during perf backtrace generation.
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Oct 2012 00:59:40 +0000 (17:59 -0700)
committerGuangyu Sun <guangyu.sun@oracle.com>
Tue, 6 Nov 2012 00:28:32 +0000 (16:28 -0800)
commit08dd850a11f38804e896d0c8624f4fde25a29d25
treee9bae31ab7a5992b519a303669b265fff64120c2
parentf8bca42d9288b04819768479cd5bff3bc482b3db
sparc64: Like x86 we should check current->mm during perf backtrace generation.

[ Upstream commit 08280e6c4c2e8049ac61d9e8e3536ec1df629c0d ]

If the MM is not active, only report the top-level PC.  Do not try to
access the address space.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
arch/sparc/kernel/perf_event.c