I also used "showevtinfo" program in the example directory to check the
supported PMU. The ivbep_uncore is detected.
Detected PMU models:
[18, ix86arch, "Intel X86 architectural PMU", 7 events, 1 max encoding, 7
counters, core PMU]
[51, perf, "perf_events generic PMU", 80 events, 1 max encoding, 0
counters, OS generic PMU]
[103, ivb_ep, "Intel Ivy Bridge EP", 75 events, 2 max encoding, 11
counters, core PMU]
[110, rapl, "Intel RAPL", 3 events, 1 max encoding, 3 counters, uncore PMU]
[114, perf_raw, "perf_events raw PMU", 1 events, 1 max encoding, 0
counters, OS generic PMU]
[115, ivbep_unc_cbo0, "Intel Ivy Bridge-EP C-Box 0 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[116, ivbep_unc_cbo1, "Intel Ivy Bridge-EP C-Box 1 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[117, ivbep_unc_cbo2, "Intel Ivy Bridge-EP C-Box 2 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[118, ivbep_unc_cbo3, "Intel Ivy Bridge-EP C-Box 3 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[119, ivbep_unc_cbo4, "Intel Ivy Bridge-EP C-Box 4 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[120, ivbep_unc_cbo5, "Intel Ivy Bridge-EP C-Box 5 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[121, ivbep_unc_cbo6, "Intel Ivy Bridge-EP C-Box 6 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[122, ivbep_unc_cbo7, "Intel Ivy Bridge-EP C-Box 7 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[123, ivbep_unc_cbo8, "Intel Ivy Bridge-EP C-Box 8 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[124, ivbep_unc_cbo9, "Intel Ivy Bridge-EP C-Box 9 uncore", 21 events, 2
max encoding, 4 counters, uncore PMU]
[130, ivbep_unc_ha0, "Intel Ivy Bridge-EP HA 0 uncore", 39 events, 3 max
encoding, 4 counters, uncore PMU]
[132, ivbep_unc_imc0, "Intel Iyy Bridge-EP IMC0 uncore", 45 events, 1 max
encoding, 5 counters, uncore PMU]
[133, ivbep_unc_imc1, "Intel Iyy Bridge-EP IMC1 uncore", 45 events, 1 max
encoding, 5 counters, uncore PMU]
[134, ivbep_unc_imc2, "Intel Iyy Bridge-EP IMC2 uncore", 45 events, 1 max
encoding, 5 counters, uncore PMU]
[135, ivbep_unc_imc3, "Intel Iyy Bridge-EP IMC3 uncore", 45 events, 1 max
encoding, 5 counters, uncore PMU]
[140, ivbep_unc_pcu, "Intel Ivy Bridge-EP PCU uncore", 67 events, 2 max
encoding, 4 counters, uncore PMU]
[144, ivbep_unc_ubo, "Intel Ivy Bridge-EP U-Box uncore", 4 events, 1 max
encoding, 3 counters, uncore PMU]
[145, ivbep_unc_r2pcie, "Intel Ivy Bridge-EP R2PCIe uncore", 13 events, 1
max encoding, 4 counters, uncore PMU]
[146, ivbep_unc_r3qpi0, "Intel Ivy Bridge-EP R3QPI0 uncore", 28 events, 1
max encoding, 3 counters, uncore PMU]
On Mon, Jun 29, 2015 at 8:33 AM, Qiong Cai <qiong....@gmail.com> wrote:
> Hi Stephane,
>
> The kernel does support uncore PMU. The directory /sys/devices has all
> the uncore information shown below
> - uncore_cbox_ {0-9}
> - uncore_ha_0
> - uncore_imc_{0-3}
> - uncore_pcu
> - uncore_r2pcie
> - uncore_r3qpi_0
> - uncore_ubox
>
>
> Thanks
> Qiong
>
> On Sun, Jun 28, 2015 at 11:44 PM, Stephane Eranian <eran...@googlemail.com
> > wrote:
>
>> Hi,
>>
>> On Mon, Jun 29, 2015 at 1:57 AM, Qiong Cai <qiong....@gmail.com> wrote:
>> > Hi Stephane,
>> >
>> > The following command does not work on my IVB machine:
>> >
>> >> sudo ./syst -e IVBEP_UNC_IMC0::UNC_M_ACT_COUNT:RD
>> > syst: event IVBEP_UNC_IMC0::UNC_M_ACT_COUNT:RD: event not found
>> > syst: cannot setup events
>> >
>> > My machine is Intel Xeon CPU E5-2660 v2@2.20 (IVB-EP).
>> >
>> > Any quick fix?
>> >
>> Do you have a kernel which supports the IVB-EP uncore PMU?
>> For that, you need to check if /sys/devices/uncore_imc0 exists.
>> If not, then you need to update your kernel.
>>
>> >
>> > thanks
>> > Qiong
>> >
>> > On Thu, Jun 25, 2015 at 3:31 PM, Stephane Eranian <
>> eran...@googlemail.com>
>> > wrote:
>> >>
>> >> On Thu, Jun 25, 2015 at 11:50 PM, Qiong Cai <qiong....@gmail.com>
>> wrote:
>> >> > I should explain a bit better. Actually, I want to collect the uncore
>> >> > events, which are shared by all cores in a socket.
>> >> >
>> >> Uncore events are ony supported in system-wide mode. You cannot use the
>> >> task example for this, use syst_count instead.
>> >>
>> >> > For example, the following command works:
>> >> > sudo ./syst -e UNC_M_ACT_COUNT:RD
>> >> >
>> >> > But the following two commands do not work
>> >> > sudo ./syst -e IVBEP_UNC_IMC0:UNC_M_ACT_COUNT:RD
>> >> > sudo ./syst -e ivbep_unc_imc0:UNC_M_ACT_COUNT:RD
>> >> Your syntax is wrong. The PMU identifier must be followed by a
>> >> double :
>> >> sudo ./syst -e IVBEP_UNC_IMC0::UNC_M_ACT_COUNT:RD
>> >>
>> >> >
>> >> > I am trying to figure out how to pass an uncore event with a
>> particular
>> >> > PMU
>> >> > to the command.
>> >> >
>> >> > Thanks
>> >> > Qiong
>> >> >
>> >> >
>> >> >
>> >> > On Thu, Jun 25, 2015 at 2:37 PM, Leonardo Piga <
>> leonardo.p...@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> Hi Qiong,
>> >> >>
>> >> >> Please see if this thread helps you.
>> >> >>
>> >> >>
>> >> >>
>> https://www.mail-archive.com/perfmon2-devel@lists.sourceforge.net/msg03322.html
>> >> >>
>> >> >> Take a look at Gary's answer, that might be useful to you.
>> >> >>
>> >> >> Regards,
>> >> >> --
>> >> >> Leonardo
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Thu, Jun 25, 2015 at 3:56 PM, Qiong Cai <qiong....@gmail.com>
>> wrote:
>> >> >> > Hi,
>> >> >> >
>> >> >> > I am trying to pass the following uncore event to the "task"
>> binary
>> >> >> > under
>> >> >> > perf_example.
>> >> >> >
>> >> >> > - PMU: ivbep_unc_imc0
>> >> >> > - Name: UNC_M_PRE_COUNT
>> >> >> > - Mask: PAGE_MISS
>> >> >> >
>> >> >> >
>> >> >> > Is it possible to track uncore counter by using "task" binary? If
>> >> >> > not,
>> >> >> > what
>> >> >> > changes I should make?
>> >> >> >
>> >> >> > Thanks
>> >> >> > Qiong
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> ------------------------------------------------------------------------------
>> >> >> > Monitor 25 network devices or servers for free with OpManager!
>> >> >> > OpManager is web-based network management software that monitors
>> >> >> > network devices and physical & virtual servers, alerts via email &
>> >> >> > sms
>> >> >> > for fault. Monitor 25 devices for free with no restriction.
>> Download
>> >> >> > now
>> >> >> > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>> >> >> > _______________________________________________
>> >> >> > perfmon2-devel mailing list
>> >> >> > perfmon2-devel@lists.sourceforge.net
>> >> >> > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> ------------------------------------------------------------------------------
>> >> > Monitor 25 network devices or servers for free with OpManager!
>> >> > OpManager is web-based network management software that monitors
>> >> > network devices and physical & virtual servers, alerts via email &
>> sms
>> >> > for fault. Monitor 25 devices for free with no restriction. Download
>> now
>> >> > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>> >> > _______________________________________________
>> >> > perfmon2-devel mailing list
>> >> > perfmon2-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>> >> >
>> >
>> >
>>
>
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel