aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile/backtrace.c
Commit message (Collapse)AuthorAgeFilesLines
* MIPS: oprofile: Fix backtrace on 64-bit kernelAaro Koskinen2014-12-141-1/+1
| | | | | | | | | | | | | commit bbaf113a481b6ce32444c125807ad3618643ce57 upstream. Fix incorrect cast that always results in wrong address for the new frame on 64-bit kernels. Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8110/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
* MIPS: oprofile: Add callgraph supportDaniel Kalmar2011-06-151-0/+175
Stack unwinding is done by code examination. For kernelspace, the already existing unwind function is utilized that uses kallsyms to quickly find the beginning of functions. For userspace a new function was added that examines code at and before the pc. Signed-off-by: Daniel Kalmar <kalmard@homejinni.com> Signed-off-by: Gergely Kis <gergely@homejinni.com> Signed-off-by: Robert Richter <robert.richter@amd.com>