On Sat, Sep 15, 2012 at 9:06 PM, Vince Weaver <[email protected]> wrote:
> On Sat, 15 Sep 2012, Andi Kleen wrote:
>
>> OFFCORE requires setting an external MSR. perf currently supports this
>> for its integrated events, as the support for setting the MSR directly
>> was not accepted. It works though to write the MSR manually through
>> /dev/cpu/*/msr, as long as you exclude conflicts manually.
>> For details see the Intel SDM.
>
> no, the kernel has had raw offcore response support since 3.3.  It works
> fine.  It's just not easy to get if you use the "perf" tool.  (PAPI and
> libpfm4 support it fine).
>
> as far as I know the only way to do it is to use the rediculous
>    -e cpu/cmask=1,event=2,umask=3,config1=3f80408fff
> format.

just found that commit in git log also. however, even just with perf version of
that commit, I still get 'invalid or unsupported event' error. Have you been
successful using this option?

thanks,
yuanfang

>
> Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to