HomeFreeBSD

stand/common: Add support for timestamp logging (tslog)

Description

stand/common: Add support for timestamp logging (tslog)

This adds tslog_init, which allocates a 2MB buffer for recording
timestamped events; and tslog_publish, which takes the buffer and
passes it to the kernel as a "preloaded module". These functions
will be used in a later commit.

Reviewed by: kevans

Details

Provenance
cpercivaAuthored on May 30 2021, 8:30 PM
Parents
rGe193d3ba3377: libsa: Add support for timestamp logging (tslog)
Branches
Unknown
Tags
Unknown