Page MenuHomeFreeBSD

boottrace: annotate init and shutdown utilities
ClosedPublic

Authored by mhorne on Sep 13 2021, 3:16 PM.
Tags
None
Referenced Files
F163260081: D31928.id95043.diff
Tue, Jul 21, 12:52 PM
Unknown Object (File)
Thu, Jul 9, 5:05 PM
Unknown Object (File)
Tue, Jul 7, 9:37 PM
Unknown Object (File)
Sun, Jul 5, 1:44 AM
Unknown Object (File)
Jun 19 2026, 8:10 PM
Unknown Object (File)
Jun 17 2026, 10:35 AM
Unknown Object (File)
Jun 17 2026, 3:02 AM
Unknown Object (File)
Jun 15 2026, 7:38 AM

Details

Summary

Add boottrace annotations to record events in init(8), shutdown(8), and
reboot(8). This is the first piece of the boottrace userland support.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41479
Build 38368: arc lint + arc unit

Event Timeline

sbin/init/init.c
1741

Declarations appearing mid-block are generally discouraged

sbin/init/init.c
1741

Yeah. I think I kept this one here because it would be easier to overlook the static qualifier if it was declared at the start of the function. I wouldn't oppose increasing the scope and moving it to the top of the file.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 22 2022, 12:18 AM
This revision was automatically updated to reflect the committed changes.