Date: Fri, 29 Jul 2005 03:11:07 +0000 (GMT) From: jkoshy@FreeBSD.ORG (Joseph Koshy) To: Martin Cracauer <cracauer@cons.org> Cc: Joseph Koshy <jkoshy@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG Subject: Re: PMC (performance counters) problems - kernel panic in 6-beta1 Message-ID: <20050729031107.C2FD616A41F@hub.freebsd.org> In-Reply-To: Message from Martin Cracauer <cracauer@cons.org> of "Wed, 27 Jul 2005 11:00:04 -0400." <20050727110003.A29939@cons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729031107.C2FD616A41F>