]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: oprofile: Enable backtrace on timer-based profiling
authorAaro Koskinen <aaro.koskinen@nsn.com>
Fri, 17 Oct 2014 15:10:25 +0000 (18:10 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:31 +0000 (07:45 +0100)
commit705df47a96f7d67c9becef52ed6863233b903689
tree464f7ed511ec30fc7eec78c595c042b0b2dc9db8
parentbe9a8008f27eba3e8cd666218f30e399b803f43e
MIPS: oprofile: Enable backtrace on timer-based profiling

Allow unsupported CPU types to use backtrace with timer-based profiling.
Some CPUs (notably OCTEON) lack architecture-specific oprofile driver. In
such case oprofile can fallback to timer-based mode, and arch code can
still provide the backtrace functionality. So just set up the backtrace
hook always.

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