From owner-freebsd-hackers Fri Jan 4 13:59:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 129C337B405 for ; Fri, 4 Jan 2002 13:59:25 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id g04LxMG66324; Fri, 4 Jan 2002 22:59:22 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g04LvFtx063064; Fri, 4 Jan 2002 22:57:15 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id g04LvEW16286; Fri, 4 Jan 2002 22:57:15 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.6/8.11.6) id g04LvDh10118; Fri, 4 Jan 2002 22:57:13 +0100 (CET) (envelope-from ticso) Date: Fri, 4 Jan 2002 22:57:13 +0100 From: Bernd Walter To: freebsd-hackers@FreeBSD.ORG, Jos Backus Subject: Re: Solaris /usr/proc/bin/pstack functionality? Message-ID: <20020104225712.G8703@cicely8.cicely.de> References: <20020103072813.GB14656@lizzy.bugworks.com> <200201031302.g03D29t14346@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200201031302.g03D29t14346@lurza.secnetix.de> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 03, 2002 at 02:02:09PM +0100, Oliver Fromme wrote: > Jos Backus wrote: > > ----- Forwarded message from Justin Erenkrantz ----- > > +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