]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ad9872a41764836eb580d35d40960185a9ee8c9
tree1ef7853acf978784981c68a77b3236243a012ed6
parent45e28ebdecfaac8625199d8d4d56ba719758a2ea
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