Hello,

On Sat, Nov 11, 2006 at 10:43:20PM -0500, Hua-Ying Ling wrote:
> On 11/10/06, Stephane Eranian <[EMAIL PROTECTED]> wrote:
> 
> 
> >> Could the test for HT be confusing multicore processors with 
> >hyperthreaded
> >> processors, e.g. see more than one processor in the package assume HT.
> >The latest code base does the following test:
> >        ht_capable = (cpus_weight(cpu_core_map[smp_processor_id()]) / 
> >        cpu_data->x86_max_cores) > 1;
> 
> Which file is this in?
> 
Look in the kernel files, arch/i386/perfmon/perfmon_p4.c
I think the actual name for the variable is ht_enabled.

> I've searched for this line, specifically I searched for "ht_capable"
> and can't find it.
> 
> 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.

> One last question... i'm full of questions tonight...
> Is there an easy way to search the perfmon archives?
> 
Unfortunately, not that I know of.

-- 
-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to