MIPS: oprofile: Add callgraph support
authorDaniel Kalmar <kalmard@homejinni.com>
Fri, 13 May 2011 12:38:05 +0000 (08:38 -0400)
committerRobert Richter <robert.richter@amd.com>
Wed, 15 Jun 2011 12:35:34 +0000 (14:35 +0200)
commit5f307491f3a0c8551cedf5d90d660d656e0d56ec
tree1ef7853acf978784981c68a77b3236243a012ed6
parent94ea09c6a8e6c5ffb59bb1d5ca10008d37544e1a
MIPS: oprofile: Add callgraph support

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>
arch/mips/oprofile/Makefile
arch/mips/oprofile/backtrace.c [new file with mode: 0644]
arch/mips/oprofile/common.c
arch/mips/oprofile/op_impl.h