Andrew Gallatin a18f34fe77 Don't request CTLTYPE_OPAQUE if we can't print them.
The intent is to skip expensive opaque sysctls like tcp_pcblist unless
they are explicitly requested. Sysctl nodes like this don't show up in
sysctl -a, but they do generate output that winds up being dropped,
unless the user specifically requested  binary/hex output or opaques.

This reduces the runtime of sysctl in many circumstances on a loaded
system.  It also reduces the likelihood that simply gathering
diagnostics on a sick machine (stuck lock, etc) via sysctl -a might
push it over the edge into a total lockup.

Reviewed by:	jtl
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D11461
2017-07-31 14:56:35 +00:00
..
2017-05-23 09:29:05 +00:00
2017-07-10 05:16:07 +00:00
2017-02-28 23:42:47 +00:00
2017-03-08 23:58:10 +00:00
2017-05-31 21:31:15 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-23 09:29:05 +00:00
2017-05-09 01:48:23 +00:00
2017-03-10 19:13:38 +00:00
2017-03-02 14:50:01 +00:00
2017-02-28 23:42:47 +00:00
2016-10-05 20:42:35 +00:00
2017-07-07 16:58:40 +00:00
2017-02-28 23:42:47 +00:00
2016-10-05 20:45:21 +00:00
2017-07-15 19:22:01 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-28 18:13:44 +00:00
2016-10-03 00:40:20 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-14 12:39:19 +00:00
2017-02-28 23:42:47 +00:00