Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2005-08-24 Martin Hunt <hunt@redhat.com> | hunt | 2005-08-24 | 1 | -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> | hunt | 2005-08-22 | 1 | -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> | hunt | 2005-08-01 | 1 | -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, etc | trz | 2005-06-21 | 1 | -4/+8 |
| | |||||
* | updated to use new transport | trz | 2005-05-06 | 1 | -43/+13 |
| | |||||
* | Update to use relayfs. | hunt | 2005-04-07 | 1 | -0/+51 |