Re: syscalls per process ?

2013-03-25 Thread Konstantin Belousov
On Tue, Mar 26, 2013 at 11:58:02AM +1000, Paul Koch wrote: > Hi, > > At the start of all our programs, we set up a SIGALRM signal handler > to retrieve rusage stats each second and log this info for analysis. > It is useful for long running programs. One of the things we > would really really lik

syscalls per process ?

2013-03-25 Thread Paul Koch
Hi, At the start of all our programs, we set up a SIGALRM signal handler to retrieve rusage stats each second and log this info for analysis. It is useful for long running programs. One of the things we would really really like to get is the number of system calls the process has performed. Is t

Re: Debugging kernel cores without a stack

2013-03-25 Thread Adrian Chadd
It's because there are kernel structures which kgdb needs to get its grubby fingers into when decoding things. I wish things weren't so tightly coupled though.. Adrian ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/list

Re: Debugging kernel cores without a stack

2013-03-25 Thread Joshua Isom
On 3/25/2013 2:41 AM, Andriy Gapon wrote: on 25/03/2013 02:19 Joshua Isom said the following: I thought the debugger would have worked regardless. No, kgdb and libkvm have to be in sync with kernel. Unfortunately. Is it a bug or necessity? ___ fre

Re: kern/122838: [devfs] devfs doesn't handle complex paths (like zvol/pool/vms) good

2013-03-25 Thread Kimmo Paasiala
On Mon, Mar 25, 2013 at 10:44 PM, Andriy Gapon wrote: > > Would like to ask for opinions on this topic... > Please read this PR for context: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122838 > Especially Jaakko's insightful description of the problem. > > > Original Message ---

Fwd: kern/122838: [devfs] devfs doesn't handle complex paths (like zvol/pool/vms) good

2013-03-25 Thread Andriy Gapon
Would like to ask for opinions on this topic... Please read this PR for context: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122838 Especially Jaakko's insightful description of the problem. Original Message Message-ID: <5150b598.7050...@freebsd.org> Date: Mon, 25 Mar 2013

Re: Debugging kernel cores without a stack

2013-03-25 Thread Andriy Gapon
on 25/03/2013 02:19 Joshua Isom said the following: > I thought the debugger would have worked regardless. No, kgdb and libkvm have to be in sync with kernel. Unfortunately. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.free