aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/boottrace/boottrace.c
Commit message (Collapse)AuthorAgeFilesLines
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* boottrace(8): small wrapper utilityMitchell Horne2022-02-221-0/+71
This is a small program that when invoked will create start and stop boottrace entries via sysctl, and execute the desired command. Having this as an executable -- as opposed to some shell script invoking sysctl(8) -- allows the total resource usage recorded by the trace entries to include the child process. Reviewed by: 0mp, trasz (older version) Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31929