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.5-128-g3eafa6b
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 15 Jul 2011 22:09:27 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.5-128-g3eafa6b
- 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 3eafa6b8fd7e016eb5236815f84844d87cb5c708 (commit)
from 084a05f741a242ce4883860b8d1807c8cfc6fc9a (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 3eafa6b8fd7e016eb5236815f84844d87cb5c708
Author: Mark Wielaard <mjw@redhat.com>
Date: Fri Jul 15 23:54:47 2011 +0200
PR12960 Don't msleep in _stp_ctl_send when out of memory.
This is mainly a documentation patch to better explain the transport
layers and the interaction between _stp_ctl_read_cmd, _stp_ctl_send and
_stp_ctl_write.
It also contains the first step to resolve PR12960. The msleep() in
_stp_ctl_send() has been replaced with a loop that checks whether there
are messages on the queue, tries to wake up _stp_ctl_read_cmd so stapio
has a change to read some of the pending messages and a small mdelay
(which is save, because it doesn't actually sleep or schedule). It
only prevents the crash and makes the possibility of loosing control
messages slightly less. A followup patch will introduce special buffers
to hold cannot be lost messages so the module will always be able to
properly shut down.
STP_DEFAULT_BUFFERS for debugfs also got increased a little from 50 to 64.
-----------------------------------------------------------------------
Summary of changes:
runtime/io.c | 6 +++-
runtime/print_flush.c | 5 +++-
runtime/transport/control.c | 56 +++++++++++++++++++++++++++++++++++------
runtime/transport/debugfs.c | 6 +++-
runtime/transport/transport.c | 5 +++-
tapset/system.stp | 3 ++
6 files changed, 68 insertions(+), 13 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool