[−][src]Module rmesg::klogctl
KLog Implementation (makes klogctl aka syslog system call through libc)
Structs
KLogEntries | While reading the kernel log buffer is very useful in and of itself (expecially when running the CLI), a lot more value is unlocked when it can be tailed line-by-line. |
Enums
KLogType |
Constants
SUGGESTED_POLL_INTERVAL | suggest polling every ten seconds |
SYS_MODULE_PRINTK_PARAMETERS_TIME | The path under /proc where the parameter to set (or unset) logging a timestamp resides |
Functions
entry_from_line | |
klog | This is the key safe function that makes the klogctl syslog call with parameters. While the internally used function supports all klogctl parameters, this function only provides one bool parameter which indicates whether the buffer is to be cleared or not, after its contents have been read. |
klog_raw | This is the key safe function that makes the klogctl syslog call with parameters. While the internally used function supports all klogctl parameters, this function only provides one bool parameter which indicates whether the buffer is to be cleared or not, after its contents have been read. |
klog_timestamps_enable | This function can enable or disable whether or not timestamps are enabled in the Linux Kernel log entries. |
klog_timestamps_enabled | This function checks whether or not timestamps are enabled in the Linux Kernel log entries. |
safely_wrapped_klogctl | Safely wraps the klogctl for Rusty types All higher-level functions are built over this function at the base. It prevents unsafe code from proliferating beyond this wrapper. |
Type Definitions
SignedInt |