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.0-133-g29bb0bb
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 21 Oct 2009 23:59:13 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-133-g29bb0bb
- 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 29bb0bbc8603edb20de09e79fd8addb4a174947d (commit)
from 1d2cd5ff6a8ff79b09e342a5907b29b4c340a9a5 (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 29bb0bbc8603edb20de09e79fd8addb4a174947d
Author: Josh Stone <jistone@redhat.com>
Date: Wed Oct 21 16:15:58 2009 -0700
Refactor probe locking into shared functions
For scripts with thousands of probes, we save a fair amount of code-gen
time in pass-4 by having the common locking code extracted into shared
functions.
* runtime/probe_lock.h (stp_lock_probe, stp_unlock_probe): New.
* translate.cxx (c_unparser::emit_lock_decls): New, emits a static
const array of locks needed for each probe.
(c_unparser::emit_locks): Just call stp_lock_probe.
(c_unparser::emit_unlocks): Just call stp_unlock_probe.
-----------------------------------------------------------------------
Summary of changes:
runtime/probe_lock.h | 68 +++++++++++++++++++++++++
translate.cxx | 133 ++++++++++++++++---------------------------------
2 files changed, 112 insertions(+), 89 deletions(-)
create mode 100644 runtime/probe_lock.h
hooks/post-receive
--
systemtap: system-wide probe/trace tool