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-1.7-86-g5592739
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 7 Mar 2012 19:24:08 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.7-86-g5592739
- 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 559273928633e8d71c45399fb173fdd05a1c6db8 (commit)
via bfa7e523ab8cd891a2a3f24c1540021665947b5d (commit)
via cc9001af0a5fa811ddf0e44439c7cddf465db945 (commit)
from b05fd5898ac3a127f7843943d0304ce37dcdd5fd (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 559273928633e8d71c45399fb173fdd05a1c6db8
Merge: b05fd58 bfa7e52
Author: Mark Wielaard <mjw@redhat.com>
Date: Wed Mar 7 20:11:46 2012 +0100
Merge branch 'at_var'
commit bfa7e523ab8cd891a2a3f24c1540021665947b5d
Author: Mark Wielaard <mjw@redhat.com>
Date: Wed Mar 7 19:58:12 2012 +0100
PR13784 Allow defining a diffent CU source in @var.
Add cu_name to struct target_symbol. Set it in parse_target_symbol
to the string after @ in @var("somevar@some/src/file.c"). Make
target_symbol::sym_name() aware of @cu_name postfix (don't return it).
Add dwarf_var_expanding_visitor::getcuscope() which figures out the
CU DIE to use as scope if target_symbol has cu_name part. Extend
global_var.exp test to show new capability.
commit cc9001af0a5fa811ddf0e44439c7cddf465db945
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Mar 6 17:34:36 2012 +0100
Introduce @var("varname") as alternative syntax for $varname.
Adds a field target_name and a method sym_name() to struct target_symbol
to be used by the parser and tapsets translator so $name and @var("name")
can be used interchanably. Adds a testcase at_var.exp to test this for
various combinations of uprobes, kprobes, parameters, variables, arrays,
fields access, pretty printing and taking addresses.
-----------------------------------------------------------------------
Summary of changes:
parse.cxx | 33 ++++++++++++++--
staptree.cxx | 14 +++++++
staptree.h | 3 +
tapset-utrace.cxx | 2 +-
tapsets.cxx | 62 +++++++++++++++++++++++++-----
testsuite/systemtap.base/at_var.c | 27 +++++++++++++
testsuite/systemtap.base/at_var.exp | 34 +++++++++++++++++
testsuite/systemtap.base/at_var.stp | 42 +++++++++++++++++++++
testsuite/systemtap.base/global_var.exp | 15 ++++++-
testsuite/systemtap.base/global_var.stp | 22 ++++++++++-
10 files changed, 234 insertions(+), 20 deletions(-)
create mode 100644 testsuite/systemtap.base/at_var.c
create mode 100644 testsuite/systemtap.base/at_var.exp
create mode 100644 testsuite/systemtap.base/at_var.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool