jcmdev0
unread,Jul 10, 2009, 8:30:41 PM7/10/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PMCTools Discuss
Hello,
I csuped to RELENG_7 last night to get Intel Core support for pmc.
I am trying to get statistics on L2 Cache evictions but I have been
having trouble with the L2_Lines_Out event-spec. This seems to be the
right event according to the Intel Software Developer's Manual (3B,
Part 2, Table A-4) for the processor in question (Xeon 5150).
I get similar EINVAL results calling pmc_allocate from my own program.
# pmcstat -s L2_Lines_Out
pmcstat: ERROR: Cannot allocate system-mode pmc with specification
"L2_Lines_Out": Invalid argument
Have I forgotten something?
The following L2* event specs listed under pmccontrol -L do not error
out: L2_LD, L2_LOCK, L2_NO_REQ, L@-RQSTS.SELF.DEMAND.I_STATE,
L2_RQSTS.SELF.DEMAND.MESI. The rest do (L2_ADS, L2_DBUS_BUSY_RD,
L2_IFETCH, L2_LINES_IN, L2_LINES_OUT, L2_REJECT_BUSQ, L2_RQSTS).
The module init print out is:
hwpmc: TSC/1/64/0x20<REA> IAP/
2/40/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC> IAF/
0/0/0x61<INT,REA,WRI>
Thanks!
John