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.1-50-g23b7dbf
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 3 Feb 2010 17:57:30 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-50-g23b7dbf
- 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 23b7dbfaf1e9860f77b6bf1aa3da8610bf31b03c (commit)
from 0d1ad607311857dc0b4666ce8a84c1a59c615ab9 (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 23b7dbfaf1e9860f77b6bf1aa3da8610bf31b03c
Author: David Smith <dsmith@redhat.com>
Date: Wed Feb 3 11:56:58 2010 -0600
Fixed PR 11078. Changed code to avoided procfs race condition.
* runtime/procfs.c: Allow STP_MAX_PROCFS_FILES define to be overridden.
(_stp_create_procfs): Calls proc_create() instead of create_proc_entry()
to avoid a race condition.
* runtime/procfs-probes.c: New file containing procfs probe support
routines.
* tapset-procfs.cxx (procfs_derived_probe::join_group): Update struct
_stp_procfs_data definition.
(procfs_derived_probe::emit_module_decls): Include procfs-probes.c,
which is where the definition of struct stap_procfs_probe exists.
Update generated routines to read/write procfs data.
(procfs_derived_probe_group::emit_module_init): Pass file_operations
argument to _stp_create_procfs(). Initialize mutex.
(procfs_var_expanding_visitor::visit_target_symbol): Update generated
code.
-----------------------------------------------------------------------
Summary of changes:
runtime/procfs-probes.c | 204 +++++++++++++++++++++++++++++++++++++++++++++++
runtime/procfs.c | 15 +++-
tapset-procfs.cxx | 114 ++++++++++++---------------
3 files changed, 265 insertions(+), 68 deletions(-)
create mode 100644 runtime/procfs-probes.c
hooks/post-receive
--
systemtap: system-wide probe/trace tool