On Dec 26, 2016 9:13 PM, "Wei Wang" <ww...@virginia.edu> wrote:

Hello,

This could be a stupid question, but does any one know how to use haswell
ep uncore events? I am trying to access event
"hswep_unc_imc0::UNC_M_CAS_COUNT",
however, libpfm4.8 keeps returning errors.

Yrs, this is because the event requires a umask, e.g., RD. Look at the
event listing for hsw_ep_imc0 using showevtinfo.


When I issue this command to translate the event:
./evt2raw "hswep_unc_imc0::UNC_M_CAS_COUNT"

I got an error says:
evt2raw: Error: hswep_unc_imc0::UNC_M_CAS_COUNT is not a raw hardware event

I am running kernel 4.8 on a Intel i7 5820k cpu, and I can access this
event through "perf stat" with this command:
perf stat -a -e "uncore_imc_0/event=0x04,umask=0x0f/" ls

libpfm4.8's "validate" does says that all unc_imc0 events passed tests.
However, all the uncore event strings listed in validate_x86.c does not
work with evt2raw.

I feel I am not using the correct syntax for haswell uncore events. Does
any one know what is the proper way to use them?

Thank you,
Wei

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to