From owner-freebsd-hackers Mon Jan 14 5:12:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.openet-telecom.com (mail.openet-telecom.com [62.17.151.60]) by hub.freebsd.org (Postfix) with ESMTP id 6E57937B402 for ; Mon, 14 Jan 2002 05:12:21 -0800 (PST) Received: from gpo.openet-telecom.lan (unverified) by mail.openet-telecom.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Mon, 14 Jan 2002 13:17:56 +0000 Received: from openet-telecom.com (10.0.0.40) by gpo.openet-telecom.lan (NPlex 5.5.034) id 3C1EEB0C0000C5FA; Mon, 14 Jan 2002 12:59:59 +0000 Message-ID: <3C42D928.46E1ABBD@openet-telecom.com> Date: Mon, 14 Jan 2002 13:12:08 +0000 From: Peter Edwards X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bernd Walter Cc: freebsd-hackers@FreeBSD.ORG, Jos Backus Subject: Re: Solaris /usr/proc/bin/pstack functionality? References: <20020103072813.GB14656@lizzy.bugworks.com> <200201031302.g03D29t14346@lurza.secnetix.de> <20020104225712.G8703@cicely8.cicely.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message