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.2-248-ga057c85
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 11 Jun 2010 14:48:54 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-248-ga057c85
- 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 a057c85c16c0d318ab6c837481417cac6801bd45 (commit)
from 36222574678f4499bbbce731de2a0ff3a53fb750 (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 a057c85c16c0d318ab6c837481417cac6801bd45
Author: Mark Wielaard <mjw@redhat.com>
Date: Fri Jun 11 14:57:13 2010 +0200
Consolidate task_finder/vma tracker initialization.
After the task_finder is started, no new targets can reliably be added.
So make sure that all registration/enabling of the task_finder and/or
the vma tracker is done in one place (task_finder_derived_probe_group).
* task_finder.h: Defined enable_vma_tracker and vma_tracker_enabled.
* task_finder.cxx: Implement enable_vma_tracker and vma_tracker_enabled.
(task_finder_derived_probe_group::emit_module_init): Also handle
vma_tracker.
* elaborate.cxx (visit_embeddedcode): Use enable_vma_tracker and
vma_tracker_enabled.
* session.h (systemtap_session): Remove need_vma_tracker.
* session.cxx (initialize): Remove need_vma_tracker initialization.
(parse_cmdline): Enable vma tracking early when -d user mode module found.
* translate.cxx (c_unparser::emit_module_init): Don't try to start
task finder and vma tracker here.
(c_unparser::emit_module_exit): Don't try to stop task finder here.
(emit_symbol_data_done): Don't emit static _stp_need_vma_tracker.
* runtime/sym.h: Remove static _stp_need_vma_tracker.
* runtime/sym.c (_stp_sym_init): Return error when registration failed.
* runtime/task_finder.c (stap_register_task_finder_target): Add sanity
checks to detect double registration or registration after task finder
was already started.
(stap_start_task_finder): Sanity check that task finder wasn't already
started.
-----------------------------------------------------------------------
Summary of changes:
elaborate.cxx | 5 +++--
runtime/sym.c | 20 ++++++++------------
runtime/sym.h | 4 ----
runtime/task_finder.c | 19 +++++++++++++++----
session.cxx | 11 +++++++----
session.h | 1 -
task_finder.cxx | 36 ++++++++++++++++++++++++++++++++++--
task_finder.h | 6 ++++++
translate.cxx | 19 +------------------
9 files changed, 74 insertions(+), 47 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool