This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.5-182-gd0ea46c
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 21 Apr 2009 13:22:21 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.5-182-gd0ea46c
- Reply-to: systemtap at sourceware dot org
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 d0ea46ceac2e72fe0b86269ea50c004711148158 (commit)
from 543b26ed48ac66743ad309ac6cb848a5d377260f (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 d0ea46ceac2e72fe0b86269ea50c004711148158
Author: David Smith <dsmith@redhat.com>
Date: Tue Apr 21 08:21:34 2009 -0500
Correctly handle $syscall in process(PID_OR_PATH).syscall.return probes.
2009-04-21 David Smith <dsmith@redhat.com>
* tapsets.cxx (utrace_derived_probe::utrace_derived_probe): If
during target-variable-expanding the probe, we added a new block
or probe, add them.
(utrace_var_expanding_visitor::visit_target_symbol_cached): New
function to cache target variables in a generated syscall probe to
use in syscall.return probes.
(utrace_var_expanding_visitor::visit_target_symbol_context): In a
syscall.return probe, you can't access $syscall. So use
visit_target_symbol_cached() to cache the value for use here.
* testsuite/systemtap.base/utrace_syscall_args.stp: Test use of
$syscall in syscall.return probes.
-----------------------------------------------------------------------
Summary of changes:
tapsets.cxx | 262 +++++++++++++++++++++-
testsuite/systemtap.base/utrace_syscall_args.stp | 40 ++++
2 files changed, 297 insertions(+), 5 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool