From owner-freebsd-hackers Thu Jan 3 5: 2:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id E810937B41A for ; Thu, 3 Jan 2002 05:02:06 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g03D29t14346; Thu, 3 Jan 2002 14:02:09 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Thu, 3 Jan 2002 14:02:09 +0100 (CET) Message-Id: <200201031302.g03D29t14346@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG, Jos Backus Reply-To: freebsd-hackers@FreeBSD.ORG, Jos Backus Subject: Re: Solaris /usr/proc/bin/pstack functionality? In-Reply-To: <20020103072813.GB14656@lizzy.bugworks.com> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 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. Recently I discovered that there is a version of strace in our ports collection. I installed it and noticed that its output is a lot better. Since then I use strace exclusively for debugging and I'm very happy with it. strace follows children when you use the -f option (this is similar to ktrace's -i option). Regards Oliver PS: I tried strace under -stable only. I don't know if it works under -current as well. -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message