Hi Gleb, On Tue, Oct 15, 2013 at 09:55:08AM +0000, Gleb Smirnoff wrote: > Author: glebius > Date: Tue Oct 15 09:55:07 2013 > New Revision: 256512 > URL: http://svnweb.freebsd.org/changeset/base/256512 > > Log: > Rewrite netstat/if.c to use getifaddrs(3) and getifmaddrs(3) instead of > libkvm digging in kernel memory. This is possible since r231506 made > getifaddrs(3) to supply if_data for each ifaddr. > > The pros of this change is that now netstat(1) doesn't know about kernel > struct ifnet and struct ifaddr. And these structs are about to change > significantly in head soon. New netstat binary will work well with 10.0 > and any future kernel. > > The cons is that now it isn't possible to obtain interface statistics > from a vmcore.
Is there a kgdb macro or something like that that could be used for debugging purpose? -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"