Page MenuHomeFreeBSD

boottrace: annotate init and shutdown utilities
ClosedPublic

Authored by mhorne on Sep 13 2021, 3:16 PM.
Tags
None
Referenced Files
F81545858: D31928.diff
Wed, Apr 17, 8:07 PM
Unknown Object (File)
Sat, Apr 6, 11:05 AM
Unknown Object (File)
Feb 12 2024, 8:03 PM
Unknown Object (File)
Feb 12 2024, 8:03 PM
Unknown Object (File)
Feb 12 2024, 7:59 PM
Unknown Object (File)
Feb 12 2024, 2:21 PM
Unknown Object (File)
Feb 8 2024, 6:44 PM
Unknown Object (File)
Jan 15 2024, 10:53 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sbin/init/init.c
1742

Declarations appearing mid-block are generally discouraged

sbin/init/init.c
1742

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.