linux-mips
[Top] [All Lists]

[PATCH 0/2] Implement perf_callchain_user

To: linux-mips@linux-mips.org
Subject: [PATCH 0/2] Implement perf_callchain_user
From: Holger Hans Peter Freyther <zecke@selfish.org>
Date: Thu, 11 Aug 2011 02:36:04 +0200
Cc: Holger Hans Peter Freyther <zecke@selfish.org>
Sender: linux-mips-bounce@linux-mips.org
Hi,
this is moving code from oprofile/backtrace.c to a commom
place and then implements perf_callchain_user using the common
code. Right now the unwind_user_frame will always be compiled
into the kernel.


Holger Hans Peter Freyther (2):
  MIPS: Move userspace stack unwinding into kernel/user_backtrace.c
  MIPS: Implement perf_callchain_user using unwind_user_frame

 arch/mips/include/asm/stacktrace.h |   10 +++
 arch/mips/kernel/Makefile          |    3 +-
 arch/mips/kernel/perf_event.c      |   14 ++++
 arch/mips/kernel/user_backtrace.c  |  129 ++++++++++++++++++++++++++++++++++
 arch/mips/oprofile/backtrace.c     |  133 ++----------------------------------
 5 files changed, 160 insertions(+), 129 deletions(-)
 create mode 100644 arch/mips/kernel/user_backtrace.c

-- 
1.7.4.1


<Prev in Thread] Current Thread [Next in Thread>