public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.7-97-g56212da
@ 2009-05-09 1:41 jistone
0 siblings, 0 replies; only message in thread
From: jistone @ 2009-05-09 1:41 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 56212da92dae36e5870ac6149c89d967fcab10f9 (commit)
via 0730bfbd2665aef93d6fae287f3623a51f243540 (commit)
from 620c2105eb1d928b97769006eb6eed79d6998531 (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 56212da92dae36e5870ac6149c89d967fcab10f9
Author: Josh Stone <jistone@redhat.com>
Date: Fri May 8 18:32:17 2009 -0700
PR10054: Unify the translate_components errors
Since translate_components is the one that knows the details of its
failures, it makes more sense to let it throw its own errors, instead of
relying on each caller to do it. The function now always either returns
successfully or throws an error.
commit 0730bfbd2665aef93d6fae287f3623a51f243540
Author: Josh Stone <jistone@redhat.com>
Date: Fri May 8 17:50:28 2009 -0700
Refactor anonymous lookups in translate_components
The previous code recursed the entirety of translate_components, and
it seemed to be restarting the components list every time, so it would
only work if the anonymous portion was the first component. Even then,
examining the code output by semok/thirtythree revealed that it wasn't
fully translating the locations when multiple anonymous pieces were
involved.
Instead, it now recurses in a separate function, find_struct_member,
which does just enough to find the member die and return. It also
builds a vector of the locations passed through, so translate_components
can output code for the full chain of anonymity.
The generated code for semok/thirtythree's $page->mapping now appears to
match the offsets from my manual inspection of struct page. I also
added a test for $page->first_page->mapping, which works now but would
segfault the old code.
-----------------------------------------------------------------------
Summary of changes:
tapsets.cxx | 260 ++++++++++++++++-----------------------
testsuite/semok/thirtythree.stp | 6 +-
2 files changed, 112 insertions(+), 154 deletions(-)
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-05-09 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-09 1:41 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.7-97-g56212da jistone
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).