libkvm: consumers of kvm_getprocs for non-live kernels?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ulrich Spörlein
Date: Wednesday, November 10, 2010 - 1:41 pm

Hi,

I have this cleanup of libkvm sitting in my tree and it needs a little
bit of testing, especially the function kvm_proclist, which is only
called from kvm_deadprocs which is only called from kvm_getprocs when kd
is not ALIVE.

The only consumer in our tree that I can make out is *probably* kgdb, as
ps(1), top(1), w(1), pkill(1), fstat(1), systat(1), pmcstat(8) and
bsnmpd don't really work on coredumps

But, the kgdb file gnu/usr.bin/binutils/gdb/kvm-fbsd.c, where
kvm_getprocs is probably called on a dead kernel is not even used during
build!

So I guess I'm staring at dead code here, any kvm people around that can
clue me in?

Thanks,
Uli
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
libkvm: consumers of kvm_getprocs for non-live kernels?, Ulrich Spörlein, (Wed Nov 10, 1:41 pm)
Re: libkvm: consumers of kvm_getprocs for non-live kernels?, Julian Elischer, (Wed Nov 10, 2:16 pm)
Re: libkvm: consumers of kvm_getprocs for non-live kernels?, Jilles Tjoelker, (Wed Nov 10, 2:17 pm)
Re: libkvm: consumers of kvm_getprocs for non-live kernels?, Ulrich Spörlein, (Thu Nov 11, 7:55 am)
Re: libkvm: consumers of kvm_getprocs for non-live kernels?, Stanislav Sedov, (Thu Nov 11, 4:08 pm)
Re: libkvm: consumers of kvm_getprocs for non-live kernels?, Stanislav Sedov, (Fri Nov 12, 6:58 am)