MIPS: oprofile: Backtrace: don't fail on leaf functions
commit569309b42fc67a8b42f57adb68764bd10bcf2178
authorAaro Koskinen <aaro.koskinen@nsn.com>
Fri, 17 Oct 2014 15:10:26 +0000 (17 18:10 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:31 +0000 (24 07:45 +0100)
tree0659cf0719432f681da4287d9e7ece66ab6f1322
parent1b48142a809ee03f48979fad647245dbe0ce423a
MIPS: oprofile: Backtrace: don't fail on leaf functions

Continue the backtrace if we cannot find SP adjustment and RA save. In
that case, just assume the current RA. This allows us to get samples of
frequent callers of e.g. GLIBC memset().

Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8109/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/backtrace.c