summaryrefslogtreecommitdiffstats
path: root/runtime/transport
Commit message (Collapse)AuthorAgeFilesLines
* 2005-10-17 Martin Hunt <hunt@redhat.com>hunt2005-10-182-0/+15
| | | | | | | * transport.c (_stp_handle_start): Grab semaphore before calling probe_start() and release after it is done. (_stp_handle_exit): Ditto for exiting. This prevents exiting before probe_start() is finished.
* Added #ifdef'ed support for kernels containing the recent relayfs API changestrz2005-10-145-0/+64
|
* stap command-line option additions: -b (bulk mode), -s (buffer size)trz2005-10-053-2/+9
|
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-3/+13
| | | | | | * procfs.c (_stp_register_procfs): Change ifdefs to eliminate unused variable warnings. (_stp_unregister_procfs): Ditto.
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-062-6/+8
| | | | | * transport.c (_stp_handle_start): Always reply to a start message with STP_START.
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-242-0/+5
| | | | * transport_msgs.h (enum): New type, STP_OOB_DATA.
* 2005-08-23 Martin Hunt <hunt@redhat.com>hunt2005-08-243-6/+28
| | | | | | | | | * transport.c (_stp_cleanup_and_exit): Remove a 2 second sleep that should no longer be necessary. * procfs.c (_stp_write): If the ready queue is not empty then attempt to grab the last buffer in it and append our data to it.
* typo fixfche2005-08-231-1/+1
|
* 2005-08-22 Martin Hunt <hunt@redhat.com>hunt2005-08-223-10/+24
| | | | | | * transport.h: Don't define _stp_transport_write. * transport.c (_stp_transport_write): Use _stp_transport_send() when in probe_exit().
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-193-46/+18
| | | | | | | | | | * transport.c (_stp_cmd_handler): Remove. This was used by stp-control. * procfs.c (_stp_proc_write_cmd): Call schedule_work() instead of running _stp_exit_handler immediately. Fixes a problem where the module couldn't exit if all the output buffers were full. Set .owner for the filesystem entries.
* Fix typo.hunt2005-08-191-3/+3
|
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-1910-516/+436
| | | | | | | | | | | * transport.h: Remove netlink references. * transport.c: Remove netlink references. Ifdef relayfs code. * procfs.c: New file. * Makefile: Deleted. * control.c: Deleted. * control.h: Deleted. * netlink.c: Deleted. * netlink.h: Deleted.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-032-3/+7
| | | | * transport.c: Comment out a couple printks.
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-015-217/+217
| | | | | | | | | | | | | | * control.h: Remove STP commands from here and put in transport_msgs. * transport_msgs.h: New file containing the structs and values for the messages exchanged between stpd and transport. * transport.h: Moved stuff shared with stpd to transport_msgs.h * transport.c: Complete rewrite to better handle complicated initialization involving exchanging data with stpd. Supports buffer size negotiation and more.
* 2005-07-18 Martin Hunt <hunt@redhat.com>hunt2005-07-193-3/+47
| | | | | | | | | * transport.h (_stp_transport_write): Call _stp_relay_write(). * transport.c (_stp_cleanup_and_exit): Print transport failure count. (_stp_relay_write): Like relay_write() except returns -1 on error.
* *** empty log message ***trz2005-07-141-0/+5
|
* add forgotten initializationtrz2005-07-141-0/+2
|
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-083-62/+88
| | | | | | | | | | | | | | | | | | * transport.c: Rename pid to _stp_pid. Rename t to _stp_tport. (_stp_cleanup_and_exit): New internal function. (stp_exit_helper): Call _stp_cleanup_and_exit(). (_stp_transport_cleanup): New function. (_stp_cmd_handler): Remove handler for STP_TRANSPORT_MODE. The transport now notifies the daemon of the transport. (_stp_transport_close): No longer calls _stp_exit_helper(). That is done by _stp_transport_cleanup(). (_stp_transport_open): When done, call _stp_handle_transport() to notify the daemon what our transport is. (_stp_transport_send): Put a retry limit on sends. * transport.h: Rename pid to _stp_pid. (_stp_transport_cleanup): Add prototype.
* 2005-06-23 Martin Hunt <hunt@redhat.com>hunt2005-06-232-0/+22
| | | | | * transport.h: Move all the transport open stuff here and provide a convenient macro.
* 2005-06-23 Martin Hunt <hunt@redhat.com>hunt2005-06-232-1/+6
| | | | | * control.c: Replace macro DEFINE_SPINLOCK because some kernels don't have it.
* Added merging/sorting of per-cpu data, transport config/selection by probe, etctrz2005-06-214-28/+90
|
* 2005-05-17 Martin Hunt <hunt@redhat.com>hunt2005-05-182-1/+6
| | | | | * transport.c (_stp_transport_close): Call stp_exit_helper() directly instead of using work queue.
* 2005-05-16 Martin Hunt <hunt@redhat.com>hunt2005-05-174-19/+58
| | | | | | | | | | | | | | | * transport.c (_stp_cmd_handler): For STP_EXIT, schedule a work queue to do the exit functions. (_stp_transport_close): Call work queue for STP_EXIT. (_stp_transport_send): Call _stp_ctrl_send() like before, except when in probe_exit(). In that case, keep retrying on send errors until we succeed. * transport.h (_stp_transport_write): Change to call _stp_transport_send() for NETLINK_ONLY. * Makefile (KDIR): set to /lib/modules/... instead of /usr/local/src/...
* initial revisiontrz2005-05-069-0/+825