kresolve_list() is doing 372 kldsym() calls in my tests for a simple netstat.
Calling it only for non-live image improves the running time and CPU usage when collecting stats for the running kernel.
Note: I tested it only on stable/11
Differential D12151
usr.bin/netstat: don't call kresolve_list() if using live kernel nikita_elyzion.net on Aug 29 2017, 1:42 PM. Authored by Tags None Referenced Files
Subscribers
Details kresolve_list() is doing 372 kldsym() calls in my tests for a simple netstat. Note: I tested it only on stable/11
Diff Detail
|