![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTION
Event annotations are present in:
EVENT TABLESEvents are stored in three event tables: boot-time events, run-time events, and shutdown-time events.
LOADER TUNABLESTunables can be set at the
loader(8)
prompt before booting the kernel or stored in
loader.conf(5).
SYSCTL VARIABLESThe following variables are available as both sysctl(8) variables and loader(8) tunables:
EXAMPLESCreate a new trace event with a process name “foo” and an event description “bar” using sysctl(8): sysctl kern.boottrace.boottrace="foo:bar" Here is a sample output of kern.boottrace.log (shortened with “[...]” for readability): CPU msecs delta process event PID CPUtime IBlks OBlks 0 44872811 0 kernel sysinit 0x2100001 0 0.00 0 0 0 44872812 1 kernel sysinit 0x2110000 0 0.00 0 0 0 44872812 0 kernel sysinit 0x2140000 0 0.00 0 0 [...] 0 44872817 0 kernel sysinit 0x2800000 0 0.00 0 0 0 44873820 1003 kernel sysinit 0x2880000 0 0.00 0 0 0 44873820 0 kernel sysinit 0x2888000 0 0.00 0 0 [...] 1 44875735 0 kernel sysinit 0xfffffff 0 0.00 0 0 1 44875735 0 swapper mi_startup done 0 0.00 0 0 0 44875750 15 init init(8) starting... 1 0.00 0 0 0 44875751 1 init /etc/rc starting... 1 0.00 0 0 0 44875831 80 boottrace /etc/rc.d/rctl start 26 0.00 0 0 1 44875839 8 boottrace /etc/rc.d/rctl done 26 0.00 2 0 [...] 0 44876446 0 boottrace /etc/rc.d/netif start 390 0.00 0 0 1 44881116 4670 boottrace /etc/rc.d/netif done 390 0.12 34 0 [...] 0 44882866 1 boottrace /etc/rc.d/securelevel start 1679 0.00 0 0 0 44882872 6 boottrace /etc/rc.d/securelevel done 1679 0.00 0 0 1 44882879 7 init /etc/rc finished 1 2.22 743 15 Total measured time: 10068 msecs CPU msecs delta process event PID CPUtime IBlks OBlks 1 44882880 0 init multi-user start 1 2.22 743 15 0 44918215 35335 kldload hwpmc.ko: sysinit 0xd800000 1698 0.00 0 0 Total measured time: 35335 msecs SEE ALSOHISTORYNetApp created AUTHORSThis manual page was written by Mateusz Piotrowski <0mp@FreeBSD.org>.
|