The sixty second pmc howto

Joseph Koshy joseph.koshy at gmail.com
Tue Mar 21 18:49:04 UTC 2006


> 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


More information about the freebsd-current mailing list