All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: oprofile: callgraph support
@ 2011-05-13 12:38 Gergely Kis
  2011-05-13 12:38 ` [PATCH 1/2] MIPS: Add new unwind_stack variant Gergely Kis
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gergely Kis @ 2011-05-13 12:38 UTC (permalink / raw)
  To: linux-mips; +Cc: oprofile-list, Daniel Kalmar

From: Daniel Kalmar <kalmard@homejinni.com>

These patches add callgraph/backtrace support to oprofile on MIPS.

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.

Daniel Kalmar (2):
  MIPS: Add unwind_stack_by_address to support unwinding from any
    kernel code address
  MIPS: oprofile: Add callgraph support

 arch/mips/include/asm/stacktrace.h |    4 +
 arch/mips/kernel/process.c         |   18 +++-
 arch/mips/oprofile/Makefile        |    2 +-
 arch/mips/oprofile/backtrace.c     |  173 ++++++++++++++++++++++++++++++++++++
 arch/mips/oprofile/common.c        |    1 +
 arch/mips/oprofile/op_impl.h       |    2 +
 6 files changed, 194 insertions(+), 6 deletions(-)
 create mode 100644 arch/mips/oprofile/backtrace.c

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-15 12:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-13 12:38 [PATCH 0/2] MIPS: oprofile: callgraph support Gergely Kis
2011-05-13 12:38 ` [PATCH 1/2] MIPS: Add new unwind_stack variant Gergely Kis
2011-05-13 12:38 ` [PATCH 2/2] MIPS: oprofile: Add callgraph support Gergely Kis
2011-05-24  8:42 ` [PATCH 0/2] MIPS: oprofile: " Robert Richter
2011-05-31 17:24   ` Gergely Kis
2011-06-10 12:35   ` Robert Richter
2011-06-15 12:55     ` Robert Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.