Date: Mon, 14 Jan 2002 13:12:08 +0000 From: Peter Edwards <peter.edwards@openet-telecom.com> To: Bernd Walter <ticso@cicely8.cicely.de> Cc: freebsd-hackers@FreeBSD.ORG, Jos Backus <josb@cncdsl.com> Subject: Re: Solaris /usr/proc/bin/pstack functionality? Message-ID: <3C42D928.46E1ABBD@openet-telecom.com> References: <20020103072813.GB14656@lizzy.bugworks.com> <200201031302.g03D29t14346@lurza.secnetix.de> <20020104225712.G8703@cicely8.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <josb@cncdsl.com> wrote: > > > ----- Forwarded message from Justin Erenkrantz <jerenkrantz@ebuilt.com> ----- > > > +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 > ticso@cicely.de Usergroup info@cosmo-project.de > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C42D928.46E1ABBD>