This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime/stpd ChangeLog Makefile librelay.c ...
- From: hunt at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 1 Aug 2005 21:40:52 -0000
- Subject: src/runtime/stpd ChangeLog Makefile librelay.c ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hunt@sourceware.org 2005-08-01 21:40:52
Modified files:
runtime/stpd : ChangeLog Makefile librelay.c librelay.h stpd.c
Log message:
2005-08-01 Martin Hunt <hunt@redhat.com>
* librelay.h: Get structs and enums from
../transport/transport_msgs.h to eliminate duplication.
* librelay.c (send_request): Retry if send fails.
(open_relayfs_files): Use fopen() instead of open() for the
percpu tmpfiles.
(request_last_buffers): Just send cpu number for STP_BUF_INFO request.
(reader_thread): Ditto.
(process_subbufs): Use fwrite_unlocked() instead of write().
(sigchld): Removed.
(init_stp): Go back to using system() instead of fork and exec
to load module. When done, send a TRANSPORT_INFO request.
(cleanup_and_exit): Change parameter to simple flag to
indicate if the module needs removing.
(sigproc): Remove complicated logic and just send STP_EXIT.
(stp_main_loop): When receiving STP_TRANSPORT_INFO, set
the local params and reply with a STP_START. When
receiving STP_START, there was an error, so cleanup and exit.
* stpd.c (main): Added new options to set number of
buffers and their size.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/ChangeLog.diff?cvsroot=systemtap&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/Makefile.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/librelay.c.diff?cvsroot=systemtap&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/librelay.h.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/stpd.c.diff?cvsroot=systemtap&r1=1.7&r2=1.8