From owner-freebsd-hackers Fri Jul 3 05:02:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA17222 for freebsd-hackers-outgoing; Fri, 3 Jul 1998 05:02:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from limbo.rtfm.net (nathan@38.nyack.fcc.net [204.141.125.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA17217 for ; Fri, 3 Jul 1998 05:02:55 -0700 (PDT) (envelope-from nathan@limbo.rtfm.net) Received: (from nathan@localhost) by limbo.rtfm.net (8.8.8/8.8.8) id IAA02018; Fri, 3 Jul 1998 08:02:06 -0400 (EDT) (envelope-from nathan) Date: Fri, 3 Jul 1998 08:02:06 -0400 (EDT) From: Nathan Dorfman Message-Id: <199807031202.IAA02018@limbo.rtfm.net> To: kuku@gilberto.physik.RWTH-Aachen.DE, freebsd-hackers@FreeBSD.ORG Subject: Re: trace/KTRACE X-Newsgroups: mpc.lists.freebsd.hackers,muc.lists.freebsd.hackers In-Reply-To: <199807030924.LAA20365@gilberto.physik.RWTH-Aachen.DE> Organization: RTFM.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199807030924.LAA20365@gilberto.physik.RWTH-Aachen.DE> you write: > >I would like to find out where an application 'hangs' for >some overly long time (possibly a network/socket call or something) > >Recently I grabbed out 'trace-1.6' for a HP-UX machine which is >supposed to be based on the SUN kernel trace interface. > >The problem using the kernel option KTRACE would be >that I cannot watch the application as it performs, instead I can >only trace 'a posteriori'. > >Would the be a way to support this utility and the kernel trace interface >under FreeBSD? > >Or are there any other ways (other than profiling, which is also an a >posteriori method) to 'watch' what an app does? Compile it with debugging symbols and run gdb? >-- >Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de -- ________________ ___________________________________________ / Nathan Dorfman \ / "My problems start when the smarter bears / nathan@rtfm.net \/ and the dumber visitors intersect." / finger for PGP key \ Steve Thompson, Yosemite wildlife biologist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message