Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2007 15:37:11 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        hackers@freebsd.org
Subject:   Re: Making sense of ktrace(1) output
Message-ID:  <20070618133711.GA94692@freebsd.org>
In-Reply-To: <46764865.9030203@u.washington.edu>
References:  <467636C0.6040604@u.washington.edu> <20070618081532.GI1181@turion.vk2pj.dyndns.org> <46764865.9030203@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 18, 2007 at 01:55:01AM -0700, Garrett Cooper wrote:
> Peter Jeremy wrote:
> >On 2007-Jun-18 00:39:44 -0700, Garrett Cooper <youshi10@u.washington.edu> 
> >wrote:
> >  
> >>However, I was able to get ktrace output. The only problem is that 
> >>ktrace(1) apparently outputs only in binary, instead of plaintext output. 
> >>Can I convert it to plaintext somehow and process it?
> >>    
> >
> >kdump(1)
> >
> >  
> grazi to all that replied -- that did the trick :).
> 
> Now, note to self.. never ever do analysis on something so large as 
> pkg_add thunderbird. Really, really bad idea :)..
> 
> I'll make up some Perl scripts, produce some histograms, and see if I 
> can better trace down this bottleneck.

well.. instead of using ktrace I'd suggest building profiled pkg_add
and see that way where the time is spent. ktrace is great if you dont
have the source code... but you do :)

roman



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