public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-370-g5e562a6
@ 2009-12-16 14:07 moore
0 siblings, 0 replies; only message in thread
From: moore @ 2009-12-16 14:07 UTC (permalink / raw)
To: systemtap-cvs
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 5e562a69a5432566c6ae78344ae51b80ced7f15b (commit)
from 39a3e39706a18dbf3698b52fc1cc7532d94078e8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5e562a69a5432566c6ae78344ae51b80ced7f15b
Author: Tim Moore <timoore@redhat.com>
Date: Wed Dec 16 12:00:55 2009 +0100
set the IP in return probes to the returned-to instruction
It's easily available in kretprobes and uretprobes and is consistent
with the rest of the program state.
* translate.cxx (emit_common_header) : add uretprobe_instance to context.
* tapsets.cxx (common_probe_entryfn_prologue): Initialize ri in
context to 0.
(dwarf_derived_probe_group::emit_module_decls): Change IP to return
address in kretprobes.
(uprobe_derived_probe_group::emit_module_decls): enter_uretprobe_probe:
set ri (uretprobe_instance) in context. Change IP to return
address in uretprobes. Don't emit uprobe include and #define
* runtime/runtime.h : Add includes and #define for uprobes.
* runtime/stack.c (_stp_stack_print, _stp_stack_snprint): Add extra
argument for uretprobe_instance.
* tapset/context-unwind.stp (print_backtrace, backtrace): Pass NULL
for uretprobe_instance to _stp_stack_print.
* tapset/ucontext-unwind.stp (print_ubacktrace, ubacktrace): pass
uretprobe_instance to _stp_stack_print
* testsuite/systemtap.context/uprobe_uaddr.exp : new test for uaddr in
function probes
* testsuite/systemtap.context/uprobe_uaddr.stp : new file
-----------------------------------------------------------------------
Summary of changes:
runtime/runtime.h | 11 +++++
runtime/stack.c | 11 ++++-
tapset/context-unwind.stp | 4 +-
tapset/ucontext-unwind.stp | 4 +-
tapsets.cxx | 23 +++++-----
testsuite/systemtap.context/uprobe_uaddr.exp | 58 ++++++++++++++++++++++++++
testsuite/systemtap.context/uprobe_uaddr.stp | 24 +++++++++++
translate.cxx | 1 +
8 files changed, 117 insertions(+), 19 deletions(-)
create mode 100644 testsuite/systemtap.context/uprobe_uaddr.exp
create mode 100644 testsuite/systemtap.context/uprobe_uaddr.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-16 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-16 14:07 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-370-g5e562a6 moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).