Hi,
On Fri, Nov 10, 2006 at 09:46:31AM -0500, Hua-Ying Ling wrote:
>
> I'm trying to get smpl_pebs from libpfm-3.2-060926 to work on a
> pentium D 820 and having no luck with both cores running or just one.
> >From my understanding smpl_pebs counts the # of L1 cache misses so I
It can capture precise instruction pointer and register state for a
bunch of sampling events.
> wrote a short program(code at very bottom) to run smpl_pebs on in
> which I'm reading and writing data that is 25x the L1 cache size... I
> would think is enough to overflow the pebs buffer and get output such
> as:
>
> [EMAIL PROTECTED]:~/testc/debug/src> dmesg|grep perfmon
> Linux version 2.6.18-perfmon2-smp ([EMAIL PROTECTED]) (gcc version 4.1.0
> (SUSE Linux)) #2 SMP Wed Oct 11 22:02:37 EDT 2006
> perfmon: CPU0 APIC mask=0x100ee
> perfmon: version 2.2
> perfmon: added sampling format default
> perfmon: cores/package=2 threads/core=0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> perfmon: HyperThreading supported, status off
> perfmon: Data Save Area (DS) supported
> perfmon: PEBS supported, status off (because of HT)
^^^^^^^^^^^^^^^^^^^^^^^^^^
those 2 messages look strange to me. Make sure you have Hyperthreading OFF.
> perfmon: Intel P4 PMU detected, 63 PMCs, 18 PMDs, 18 counters (40 bits)
> perfmon: PMU has 18 enable PMCs
> perfmon: Intel P4 PMU installed
> perfmon: CPU0 APIC mask=0xee
> perfmon: added sampling format PEBS
--
-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/