freebsd-skq/usr.bin/netstat
Baptiste Daroussin 1caaf3ea4f Don't call kresolv_list() if using netstat on live kernel
kresolve_list() is calling many kldsym(2). Removing that call on when collecting
stats for the running kernel improves the startup time and CPU usage.

Submitted by:	Nikita Kozlov (nikita.kozlov@blade-group.com)
Reviewed by:	cem
MFC after:	2 weeks
Sponsored by:	blade
Differential Revision:	https://reviews.freebsd.org/D12151
2017-08-30 07:58:33 +00:00
..
bpf.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
if.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
inet6.c usr.bin/netstat: strcpy -> strlcpy 2017-04-07 15:15:10 +00:00
inet.c Use counter(9) for PLPMTUD counters. 2017-08-25 19:41:38 +00:00
ipsec.c Add descriptions for AES-GCM IPSec authentication (AH) counters. 2017-05-27 16:53:39 +00:00
main.c Don't call kresolv_list() if using netstat on live kernel 2017-08-30 07:58:33 +00:00
Makefile After inpcb route caching was put back in place there is no need for 2017-07-27 13:03:36 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mbuf.c Use bogus_page to properly reduce number of I/Os in sendfile(2). The new 2016-11-17 21:02:55 +00:00
mroute6.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
mroute.c Use strlcpy and snprintf in netstat(1). 2017-01-05 09:23:54 +00:00
netgraph.c Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
netisr.c Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
netstat.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
netstat.h After inpcb route caching was put back in place there is no need for 2017-07-27 13:03:36 +00:00
nlist_symbols Print running TCP connection counts with TCP statistics. 2016-03-15 00:19:30 +00:00
pfkey.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
route.c Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
sctp.c Use strlcpy and snprintf in netstat(1). 2017-01-05 09:23:54 +00:00
unix.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00