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-120-g3897525
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 25 Feb 2010 22:30:41 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-120-g3897525
- 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 38975255091d0c6bc33ae3c6907bb7886b70598d (commit)
from e3d5f49468872aeec7f1f05a8afe40677859cf0f (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 38975255091d0c6bc33ae3c6907bb7886b70598d
Author: David Smith <dsmith@redhat.com>
Date: Thu Feb 25 16:29:50 2010 -0600
Fixed pr 10690 by adding '.maxsize(NNN)' procfs read probe parameter.
* tapset-procfs.cxx (procfs_derived_probe::procfs_derived_probe): Added
'maxsize_val' initialization.
(procfs_derived_probe::join_group): Updated '_stp_procfs_data'
definition and added STP_PROCFS_BUFSIZE.
(procfs_derived_probe_group::emit_module_decls): Emits structure to
contain procfs file buffers. Initializes '.bufsize' structure member.
(procfs_var_expanding_visitor::visit_target_symbol): Uses 'bufsize' for
maximum buffer size instead of using MAXSTRINGLEN.
(procfs_builder::build): Looks for '.maxsize(NNN)' parameter.
(register_tapset_procfs): Added '.maxsize(NNN)' parameter binding.
* runtime/procfs-probes.c (stap_procfs_probe): Converted 'buffer' to a
pointer and added 'bufsize' member.
* testsuite/semko/procfs13.stp: New testcase.
* testsuite/semko/procfs14.stp: Ditto.
* testsuite/semko/procfs15.stp: Ditto.
* testsuite/systemtap.base/procfs_maxsize.exp: Ditto.
* testsuite/systemtap.base/procfs.exp: Minor fix.
* stapprobes.3stap.in: Added '.maxsize(NNN)' documentation.
* stap.1.in: Added STP_PROCFS_BUFSIZE documentation.
-----------------------------------------------------------------------
Summary of changes:
runtime/procfs-probes.c | 9 +-
stap.1.in | 9 +-
stapprobes.3stap.in | 30 +++-
tapset-procfs.cxx | 117 +++++++++--
testsuite/semko/procfs13.stp | 4 +
testsuite/semko/procfs14.stp | 4 +
testsuite/semko/procfs15.stp | 4 +
testsuite/systemtap.base/procfs.exp | 2 +-
testsuite/systemtap.base/procfs_maxsize.exp | 288 +++++++++++++++++++++++++++
9 files changed, 439 insertions(+), 28 deletions(-)
create mode 100755 testsuite/semko/procfs13.stp
create mode 100755 testsuite/semko/procfs14.stp
create mode 100755 testsuite/semko/procfs15.stp
create mode 100644 testsuite/systemtap.base/procfs_maxsize.exp
hooks/post-receive
--
systemtap: system-wide probe/trace tool