On Thu, Jun 27, 2013 at 9:21 PM, Qingyuan Deng <ddq...@gmail.com> wrote:
> the problem is that "perf list" doesn't show any UNC_xx events.
> and I cannot profile UNC events, e.g.:
>
Oh, but that's normal. Perf does not use libpfm4 by default.

> "perf stat --pfm-events UNC_DRAM_OPEN:CH0 /bin/ls"
>
To use regular perf for uncore snb-ep, you have to use
their syntax:
  $ perf stat -a -C0 -e unc_imc0/event=0x4,umask=0xf/

You need to find the event encoding and then pass it using the syntax
above.

uncore supports only system-wide. You need to limit to one CPU per socket.
But if I recall correctly, perf does that by default (using a cpumask exported
in sysfs), so you may not need the -C0 option.


To use libpfm4 with perf requires a patch. That patch is provided as part
of our Gooda tool. Download the git tree at:
    http://code.google.com/p/gooda.

And apply the perf-patches that apply to your perf tool version.


> gives me complains:
>
> "unsupported event UNC_DRAM_OPEN:CH0"
>
>
> On Thu, Jun 27, 2013 at 12:15 PM, Stephane Eranian <eran...@googlemail.com>
> wrote:
>>
>> On Thu, Jun 27, 2013 at 7:42 PM, Qingyuan Deng <ddq...@gmail.com> wrote:
>> > Thanks for the help! I attached the dump of showevtinfo to this email.
>> >
>> >
>> So your processor is correctly detected by libpfm4. You have all the
>> uncore events
>> available. So what is exactly the problem you're running into and with
>> which command?
>>
>> > On Thu, Jun 27, 2013 at 2:55 AM, Stephane Eranian
>> > <eran...@googlemail.com>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> What is the output of examples/showevtinfo (especially the top of the
>> >> output)?
>> >>
>> >>
>> >
>
>
>
>
> --
> Best regards,
> Qingyuan Deng
> Department of Computer Science
> Rutgers University
> http://paul.rutgers.edu/~qdeng

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to