tslog4
Boot-time event tracing facility
Usage
option TSLOG
Overview
tslog is a boot-time event tracing facility. It is suitable for tracing recursive events based on function entries and exits. Its purpose is to ease pinpointing and reducing the overall FreeBSD boot time by generating detailed timing information.
tslog is able to trace the boot loader, kernel initialization, and userland processes.
In userland, it records the following details for each process ID:
Sysctl variables
The following sysctl(8) variables are available:
- debug.tslog
-
Dump the
tslogbuffer of recorded loader and kernel event timestamps. - debug.tslog_user
-
Dump the
tslogbuffer of recorded userland event timestamps.
Flamegraphs
The tslog buffer dumps can be used to generate flamegraphs of the FreeBSD boot process for visual analysis. See https://github.com/cperciva/freebsd-boot-profiling for more information.
Releases
14 releases since FreeBSD 12.4-RELEASE; the text changed 4 times.