Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-12 Thread Andriy Gapon
on 12/11/2010 01:08 Stanislav Sedov said the following: On Thu, 11 Nov 2010 15:55:45 +0100 Ulrich Spörlein u...@spoerlein.net mentioned: Stas has ongoing work on a libprocstat, you might want to give him a ping. I'm not sure if he plans to refactor some of those existing tools to use that

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-12 Thread Stanislav Sedov
On Fri, 12 Nov 2010 14:14:47 +0200 Andriy Gapon a...@freebsd.org mentioned: Just to let you know that I am eagerly awaiting for that to happen. Perhaps even could help with something if you'd need that. Review can certainly help.:-) Can I send you the patch? Thanks! -- Stanislav Sedov

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-12 Thread Andriy Gapon
on 12/11/2010 15:58 Stanislav Sedov said the following: On Fri, 12 Nov 2010 14:14:47 +0200 Andriy Gapon a...@freebsd.org mentioned: Just to let you know that I am eagerly awaiting for that to happen. Perhaps even could help with something if you'd need that. Review can certainly help.:-)

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-11 Thread Robert Watson
On Wed, 10 Nov 2010, Ulrich Spörlein wrote: 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

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-11 Thread Ulrich Spörlein
On Thu, 11.11.2010 at 13:16:39 +, Robert Watson wrote: On Wed, 10 Nov 2010, Ulrich Spörlein wrote: 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

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-11 Thread John Baldwin
On Wednesday, November 10, 2010 3:41:52 pm Ulrich Spörlein wrote: 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

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-11 Thread Stanislav Sedov
On Thu, 11 Nov 2010 15:55:45 +0100 Ulrich Spörlein u...@spoerlein.net mentioned: Stas has ongoing work on a libprocstat, you might want to give him a ping. I'm not sure if he plans to refactor some of those existing tools to use that library or not, but crashdump support is a key goal

libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-10 Thread Ulrich Spörlein
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*

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-10 Thread Dimitry Andric
On 2010-11-10 21:41, Ulrich Spörlein wrote: 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? In

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-10 Thread Julian Elischer
On 11/10/10 12:41 PM, Ulrich Spörlein wrote: 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

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-10 Thread Jilles Tjoelker
On Wed, Nov 10, 2010 at 09:41:52PM +0100, Ulrich Spörlein wrote: 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.