Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 22:57:13 +0100
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        freebsd-hackers@FreeBSD.ORG, Jos Backus <josb@cncdsl.com>
Subject:   Re: Solaris /usr/proc/bin/pstack functionality?
Message-ID:  <20020104225712.G8703@cicely8.cicely.de>
In-Reply-To: <200201031302.g03D29t14346@lurza.secnetix.de>
References:  <20020103072813.GB14656@lizzy.bugworks.com> <200201031302.g03D29t14346@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020104225712.G8703>