I'm attempting to build oprofile 0.8.1 for a SuSE 2.6 kernel. It
appears to be working, but I don't see any support for CPU metrics.
linux:~ # opcontrol -l
Using timer interrupt.
I looked at docs/oprofile.html, but found the wording in section 2
For Intel IA32, a CPU with either a P6 generation or Pentium 4
core is required. In marketing terms this translates to anything
between an Intel Pentium Pro (not Pentium Classics) and a Pentium
4 / Xeon, including all Celerons. The AMD Athlon, Duron, and Hammer
CPUs are also supported. Other IA32 CPU types only support the RTC
mode of OProfile; please see later in this manual for details.
Hyper-threaded Pentium IVs are not supported in 2.4. For 2.4 kernels,
the Intel IA-64 CPUs are also supported. For 2.6 kernels, there is
additionally support for Alpha processors, and sparc64, ppc64, and
PA-RISC in timer mode.
I *think* this implies for 2.6 kernels, metrics on IA-64 cpus are not
supported. Could someone confirm this? I've seen a large list of
metrics for IA-64 on a 2.4 kernel, but I didn't build that version
myself, so I'm not sure if I just messed up my build, or it was not
expected to work.
On Tue, Nov 23, 2004 at 01:17:18PM -0600, Brent Henderson wrote:
> I'm attempting to build oprofile 0.8.1 for a SuSE 2.6 kernel. It
> appears to be working, but I don't see any support for CPU metrics.
The ia64 SuSE SLES9 kernel is based on a 2.6.5 kernel. That
kernel does not have the oprofile perfmon support patch that was
accepted into the 2.6.9 ia64 kernel. That patch is necessary for
supporting the PMU metrics for oprofile. I am planning to file
this in SuSE's bugzilla, but since the deadline for SP1 is past,
expect this to be fixed (if agreed to be fixed by SuSE) in the
Get latest updates about Open Source Projects, Conferences and News.