freebsd-skq/usr.bin/truss
freqlabs 638f0ed3c5 Enable iterating all sysctls, even ones with CTLFLAG_SKIP
Add an "nextnoskip" sysctl that allows for listing of sysctls intended to be
normally skipped for cost reasons.

This makes it so the names/descriptions of those sysctls can be discovered with
sysctl -aN/sysctl -ad/sysctl -at.

It also makes it so children are visited when a node flagged with CTLFLAG_SKIP
is explicitly requested.

The intended use case is to mark the root "kstat" node with CTLFLAG_SKIP so that
the extensive and expensive stats are skipped by default but may still be easily
obtained without having to know them all (which may not even be possible) and
request each one-by-one.

Reviewed by:	jhb
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D26560
2020-10-05 20:13:22 +00:00
..
extern.h
main.c
Makefile Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. 2019-07-16 22:59:15 +00:00
Makefile.depend
setup.c Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. 2019-07-16 22:59:15 +00:00
syscall.h truss: decode shm_open2 2020-02-19 14:54:33 +00:00
syscalls.c Enable iterating all sysctls, even ones with CTLFLAG_SKIP 2020-10-05 20:13:22 +00:00
truss.1
truss.h Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. 2019-07-16 22:59:15 +00:00