What about Stupid Usage Questions?

23 views
Skip to first unread message

ssanders

unread,
Dec 18, 2009, 10:59:11 AM12/18/09
to PMCTools Discuss
This definitely does not look like the right place for this but I need
to ask a stupid question.

I've got FreeBSD 8.0 running on a Intel Xeon X5450 and am trying to
look at BUS_TRAN_MEM.

pmstat -s BUS_TRAN_MEM comes back with zeros.

Any hints?

Sorry for any bother.

Ryan Stone

unread,
Dec 21, 2009, 3:34:41 PM12/21/09
to PMCTools Discuss
I'm assuming that you mean BUS_TRANS_MEM. It works for me on a Core 2
if I specify something for the agent and core qualifiers(if I don't I
get EINVAL). For example,

# pmcstat -s BUS_TRANS_MEM,agent=any,core=all -w1
# s/00/BUS_TRANS_MEM s/01/BUS_TRANS_MEM s/02/BUS_TRANS_MEM s/03/
BUS_TRANS_MEM
31093562 31091996 31092629
31095066
31150579 31155645 31155441
31153421

Stephen Sanders

unread,
Dec 23, 2009, 10:05:31 AM12/23/09
to pmctools...@googlegroups.com, Ryan Stone
Hmm...cutting and pasting from the email gets me the the following :

al3150a# pmcstat -s BUS_TRANS_MEM,agent=any,core=all -w1
pmcstat: ERROR: Cannot allocate system-mode pmc with specification
"BUS_TRANS_MEM,agent=any,core=all": Invalid argument

The output of "uname -a" is below. I will recheck my compilation of
the kernel to make sure I didn't miss anything.

Thanks.

FreeBSD al3150a.networkphysics.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0:
Thu Dec 17 12:34:55 PST 2009
ro...@al3150a.networkphysics.com:/usr/obj/usr/src/sys/SeeThru amd64

On 12/21/2009 3:34 PM, Ryan Stone wrote:
> pmcstat -s BUS_TRANS_MEM,agent=any,core=all -w1
>

ssanders.vcf

Ryan Stone

unread,
Dec 23, 2009, 11:26:40 AM12/23/09
to ssan...@opnet.com, pmctools...@googlegroups.com
Ah, that error is probably because of the bug I just reported. Try
the patch in this pmctools bug report:

http://code.google.com/p/pmctools/issues/detail?id=26&colspec=ID%20Type%20Status%20Priority%20Opsys%20Component%20Summary

Stephen Sanders

unread,
Dec 23, 2009, 2:41:24 PM12/23/09
to Ryan Stone, pmctools...@googlegroups.com
That was it. Thanks much.
ssanders.vcf
Reply all
Reply to author
Forward
0 new messages