I've submitted PR33874 that implements a version of pstack for FreeBSD. (er, actually due to "difficulties" with our mail server, it's logged twice, the second being 33873: can someone delete one of them?)
Jos, if its still of use to you, can you see if it works? Bernd Walter wrote: > > On Thu, Jan 03, 2002 at 02:02:09PM +0100, Oliver Fromme wrote: > > Jos Backus <[EMAIL PROTECTED]> wrote: > > > ----- Forwarded message from Justin Erenkrantz <[EMAIL PROTECTED]> ----- > > > +1. =) I've talked to the FreeBSD people and they just laugh > > > maniacally when I ask for a truss that follows children. AIUI, > > > NetBSD has this, so it is possible to port these changes over, > > > but it requires an overhaul to procfs from what I've been told. > > > > > > FreeBSD has a long way to get the stellar debugging capabilities > > > of Solaris. -- justin > > > > I think that the output from FreeBSD's truss is pretty > > pathetic and unusable. ktrace is somewhat better. > > Mmmm - I can't compare... > On alpha: > ===> Building for strace-4.4 > cc -b alpha--freebsd5.0 -Wall -DHAVE_CONFIG_H -I. -Ifreebsd/alpha >-I./freebsd/alpha -Ifreebsd -I./freebsd -D_GNU_SOURCE -O -pipe -mcpu=ev56 -c strace.c > In file included from strace.c:34: > defs.h:96: #error "FreeBSD support is only for i386 arch right now." > strace.c: In function `trace': > strace.c:1461: warning: label `FOUND' defined but not used > *** Error code 1 > > I asume this should be tagged i386 only in the port. > > On i386: > ticso@cicely5# strace sleep 1 > strace: PIOCSTATUS: Inappropriate ioctl for device > trouble opening proc file > Exit 1 > > > PS: I tried strace under -stable only. I don't know if > > it works under -current as well. > > Seems not. > > -- > B.Walter COSMO-Project http://www.cosmo-project.de > [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

