]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: oprofile: Backtrace: don't fail on leaf functions
authorAaro Koskinen <aaro.koskinen@nsn.com>
Fri, 17 Oct 2014 15:10:26 +0000 (18:10 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:31 +0000 (07:45 +0100)
commitfd23df4b931e0edb127b7190afe6b037341980e0
tree0659cf0719432f681da4287d9e7ece66ab6f1322
parentc1f24ab9db09c07133ef1d2d068d191236e7853b
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