Defines | |
#define | STP_LOG_BUF_LEN 2047 |
private buffer for _stp_log() | |
Functions | |
void | _stp_log (const char *fmt,...) |
Logs Data. | |
int | _stp_netlink_open (void) |
Opens netlink and relayfs connections to stpd. | |
void | _stp_netlink_close (void) |
Closes netlink and relayfs connections to stpd. |
|
Logs Data. This function prints to the system log if stpd has not connected yet. Otherwise it sends the message immediately to stpd.
Definition at line 29 of file io.c. References STP_LOG_BUF_LEN. Referenced by _stp_list_clear(), _stp_register_jprobes(), _stp_register_kprobes(), _stp_stack_sprint(), _stp_string_init(), _stp_unregister_jprobes(), and _stp_unregister_kprobes(). |
|
Closes netlink and relayfs connections to stpd. This must be called after all I/O is done, probably at the end of module cleanup.
|
|
Opens netlink and relayfs connections to stpd. This must be called before any I/O is done, probably at the start of module initialization. |