Hello, I was able to test your program on a Xeon 64-bit. The reason you are not capturing anything is that your arrays temp/temp2 are way too small, you fit in the cache. If you increase your buffer size to a few MB, you should see events captured by PEBS.
On Sun, Nov 12, 2006 at 11:03:26PM -0500, Hua-Ying Ling wrote: > hi > > On 11/12/06, Stephane Eranian <[EMAIL PROTECTED]> wrote: > >> I tried downloading the latest source from cvs for libpfm and don't > >> find it in libpfm so I assume it is in the perfmon patch but where can > >> I get the latest source for the patch? cvs seems to only contain the > >> modules libpfm and pfmon. > >> > >Yes, this is kernel code. > The ht detecting code is 060926 is very different from the latest version: > > ht_capable = (cpus_weight(cpu_core_map[smp_processor_id()]) / > cpu_data->x86_max_cores) > 1; > > Where can I get the latest version? > > Thanks > Hua-Ying -- -Stephane _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
