I am trying to understand what does oprofile depend on in Linux 2.6 that makes it HT aware.  I did a few tests with oprofile in 2.4 (forcing cpu_type=6, i.e. ST P4), and oprofile does work.  The caveat is that it sees half of the logical processors.  On a 4P system, it sees cpu0,2,4,6. 

 

I would greatly appreciate if someone would point me to where I may start in enable oprofile for HT on 2.4 or if it’s even fundamentally possible.  Many thanks.

 

-Annie