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-100-gf400d6e
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 10 Mar 2009 23:24:35 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9-100-gf400d6e
- 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 f400d6e427cb7494d072ad124e7996925015bdf4 (commit)
via 381dc4158249cffce8e76a3ea6874a084b41bf26 (commit)
via 6351f32433edb111b28362963c97d1cd0d1d8561 (commit)
via abb41d920aecf908a132597f0a4bc26a10e58a7c (commit)
from 95635ee8a429033dcb5d63727f0f2cae039a2dfd (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 f400d6e427cb7494d072ad124e7996925015bdf4
Merge: 95635ee8a429033dcb5d63727f0f2cae039a2dfd 381dc4158249cffce8e76a3ea6874a084b41bf26
Author: Josh Stone <jistone@redhat.com>
Date: Tue Mar 10 15:53:41 2009 -0700
Merge branch 'typecast'
commit 381dc4158249cffce8e76a3ea6874a084b41bf26
Author: Josh Stone <jistone@redhat.com>
Date: Tue Mar 10 15:51:09 2009 -0700
Merge sequential casts in the vfs tapset
A few places in this tapset were using a pattern like this:
i_sb = @cast(foo, "inode")->i_sb
return @cast(foo, "super_block")->bar
The type of i_sb is already known, so I just merged this to:
return @cast(foo, "inode")->i_sb->bar
commit 6351f32433edb111b28362963c97d1cd0d1d8561
Author: Josh Stone <jistone@redhat.com>
Date: Tue Mar 10 15:46:21 2009 -0700
PR9932: use @cast module search path
The nfs, rpc, and scsi tapsets use @cast on types that may be compiled
into a kernel module or into the main kernel binary. The @cast search
path separated with colons lets us search both the kernel and the module.
For a couple of cases, I also merged sequential @casts that work just
fine as a single cast with a multiple-level dereference.
commit abb41d920aecf908a132597f0a4bc26a10e58a7c
Author: Josh Stone <jistone@redhat.com>
Date: Tue Mar 10 15:32:16 2009 -0700
PR9932: add @cast module search path
Sometimes @cast()ing can fail if the type needed may or may not be
defined in a kernel module. This patch lets @cast take a colon-
separated list of modules to search for the type definition.
* tapsets.cxx (dwarf_cast_query): Simplify. Take the module and
the code result as reference parameters, and use code.empty() as
the sign that the type isn't resolved yet.
(dwarf_cast_expanding_visitor::visit_cast_op): Split e->module by
colon into substrings, and loop until the type is resolved.
-----------------------------------------------------------------------
Summary of changes:
tapset/nfs.stp | 50 +++++++++++++++------------------------
tapset/rpc.stp | 41 +++++++++++---------------------
tapset/scsi.stp | 4 +-
tapset/vfs.stp | 54 +++++++++++++++----------------------------
tapsets.cxx | 69 ++++++++++++++++++++++++-------------------------------
5 files changed, 84 insertions(+), 134 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool