[][src]Crate rmesg

Modules

error

Structs

RMesgLinesIterator

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

Functions

kernel_log_timestamps_enable

This function can enable or disable whether or not timestamps are enabled in the Linux Kernel log entries.

kernel_log_timestamps_enabled

This function checks whether or not timestamps are enabled in the Linux Kernel log entries.

rmesg

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.

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