]> sourceware.org Git - systemtap.git/commit
PR11778 Add sprint_stack and sprint_ustack tapset functions.
authorMark Wielaard <mjw@redhat.com>
Mon, 5 Jul 2010 09:48:35 +0000 (11:48 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 5 Jul 2010 09:54:22 +0000 (11:54 +0200)
commit098024de329c2e7bf09bca4e51809b4eff5e9464
tree74f51b5b5111450380c8d7e25593941589b17a98
parentd5dfb4051dee76f5b0c9289c2eca9461addef34d
PR11778 Add sprint_stack and sprint_ustack tapset functions.

New tapset functions that take a hexstring and produce a (simplified) stack
as string. Simplified because otherwise it would quickly run over max string
length.

* runtime/sym.h (_STP_SYM_SIMPLE): New format that gives only symbol,
  module, offset (and newline).
* tapset/context-symbols.stp (sprint_stack): New tapset function.
* tapset/ucontext-symbols.stp (sprint_ustack): Likewise.
* testsuite/buildok/context-symbols-embedded.stp: New sprint_stack test.
* testsuite/buildok/ucontext-symbols-embedded.stp: New sprint_ustack test.
runtime/sym.h
tapset/context-symbols.stp
tapset/ucontext-symbols.stp
testsuite/buildok/context-symbols-embedded.stp
testsuite/buildok/ucontext-symbols-embedded.stp
This page took 0.024785 seconds and 5 git commands to generate.