From owner-freebsd-current@FreeBSD.ORG Tue Mar 21 18:49:04 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68E1116A424 for ; Tue, 21 Mar 2006 18:49:04 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF3FB43D49 for ; Tue, 21 Mar 2006 18:49:02 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by xproxy.gmail.com with SMTP id s11so1139709wxc for ; Tue, 21 Mar 2006 10:49:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VHTpH320ayMi6LhDytlihv6ds77mz/MwJOTtPWlcE3JZ+BYhEPGITbdakobK8WeYZpas9sX0V3VU84CvaZi/SzdBFFT5AT4GkT7KkVgvG5p7FdqpoADo13nC4vN2scy0xtQmUMwiPquRv1nWE0GHjhb7w/FLuEXaeoBHiWdhbAQ= Received: by 10.70.117.16 with SMTP id p16mr6078900wxc; Tue, 21 Mar 2006 10:49:01 -0800 (PST) Received: by 10.70.115.19 with HTTP; Tue, 21 Mar 2006 10:49:01 -0800 (PST) Message-ID: <84dead720603211049o5b3a586w78d02bd1d88573b3@mail.gmail.com> Date: Wed, 22 Mar 2006 00:19:01 +0530 From: "Joseph Koshy" To: "Andrew Gallatin" In-Reply-To: <17440.17965.497455.777452@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060223143856.O9642@fledge.watson.org> <17405.53911.686306.362353@grasshopper.cs.duke.edu> <84dead720603202346t6fe1e94cve033bf002dffa90a@mail.gmail.com> <17440.17965.497455.777452@grasshopper.cs.duke.edu> Cc: Robert Watson , current@freebsd.org Subject: Re: The sixty second pmc howto X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:49:04 -0000 > For a few modules, I suppose it is OK. But it makes it hard to > see the "big picture" when a number of modules are loaded. > Is there any chance you have enough information to hack > together a view similar to oprofile's opreport -l? Or > (even better) opreport -ld Incidentally, pmcstat -R sample.out # no '-g' dumps a 'text' representation of the sample log that could be parsed by an awk/perl/python script. I've been planning a Python interface to the pmc(3) and pmclog(3) API to aid the creation of interesting tools. This is, as of now, only partially implemented. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy