Re: PMC (performance counters) problems - kernel panic in 6-beta1

From: Joseph Koshy <jkoshy_at_FreeBSD.ORG>
Date: Fri, 29 Jul 2005 03:11:07 +0000 (GMT)
 
> Another question, what is the difference of -s versus -S and -p versus
> -P, respectively?

-S and -P turn on sampling.  -S does 'whole system' sampling.  -P is
process specific (i.e., the counters only count when the target process(es)
are running).

So:

 # pmcstat -S instructions -O /tmp/foo.out

will collect samples.

 # pmcstat -g -R /tmp/foo.out

will convert the sample log to gprof(1) compatible 'gmon.out' files.

Sampling on the AMD64 requires a patch to current [I'll commit it
shortly].

> Thanks for great work.

Thanks.

Regards,
Koshy
<jkoshy_at_freebsd.org>
Received on Fri Jul 29 2005 - 01:11:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC