summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
Commit message (Collapse)AuthorAgeFilesLines
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-241-1/+1
| | | | | | | | | | | * librelay.c (sigproc): Reestablish signal handler so impatient people don't hit ^C twice and terminate the program before it saves the data and removes the module. Also print a message to stderr that it is exiting. (stp_main_loop): Write OOB data (warnings, errors, etc) to stderr instead of stdout. * librelay.h: Write debug info to stderr. * Makefile: add librelay.h to dependencies.
* 2005-08-22 Martin Hunt <hunt@redhat.com>hunt2005-08-221-0/+6
| | | | | | * Makefile (debug): Add debug target. * librelay.h (dbug): Define. * librelay.c: Enable some dbug lines.
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-011-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added merging/sorting of per-cpu data, transport config/selection by probe, etctrz2005-06-211-4/+8
|
* updated to use new transporttrz2005-05-061-43/+13
|
* Update to use relayfs.hunt2005-04-071-0/+51