mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
boottrace: Add corresponding sysctl knob for loader tunable
The loader tunable 'kern.boottrace.table_size' does not have corresponding sysctl MIB entry. Add it so that it can be retrieved, and `sysctl -T` will also report it correctly. Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42138
This commit is contained in:
parent
257405d707
commit
51dc362d1a
@ -158,6 +158,10 @@ SYSCTL_INT(_kern_boottrace, OID_AUTO, shutdown_trace_threshold, CTLFLAG_RWTUN,
|
||||
&shutdown_trace_threshold, 0,
|
||||
"Tracing threshold (ms) below which tracing is ignored");
|
||||
|
||||
SYSCTL_UINT(_kern_boottrace, OID_AUTO, table_size,
|
||||
CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &bt.size, 0,
|
||||
"Boot-time tracing table size");
|
||||
|
||||
/*
|
||||
* Dump a trace to buffer or if buffer is NULL to console.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user