Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 138832 - Enable OProfile profile support for UP i686 kernel
Enable OProfile profile support for UP i686 kernel
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
: FutureFeature
: 144200 (view as bug list)
Depends On:
Blocks: 144200
  Show dependency treegraph
Reported: 2004-11-11 09:41 EST by William Cohen
Modified: 2015-01-04 17:11 EST (History)
5 users (show)

See Also:
Fixed In Version: 2.6.9-6.31.EL
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-24 09:55:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to enable oprofile on UP kernel (263 bytes, patch)
2004-11-11 09:44 EST, William Cohen
no flags Details | Diff

  None (edit)
Description William Cohen 2004-11-11 09:41:38 EST
OProfile driver in the 2.6 kernel works in UP kernels; this was not
the case with OProfile driver in the 2.4 kernels. The 2.6 driver has
fallback to a timer interrupt mechanism that will work in the UP kernels.

Enabling this will avoid having to tell people to install SMP kernels
to do performance measurements.  It will also allow people to do
performance characterization and tuning on UP machine machines such as
laptops, where improved performance can reduce power consumption and
increased battery life.
Comment 1 William Cohen 2004-11-11 09:44:15 EST
Created attachment 106503 [details]
patch to enable oprofile on UP kernel

A minimal enabling so that the oprofile timer interrupt mechanism is available
to collect data on the UP kernel.
Comment 2 Suzanne Hillman 2004-11-12 11:47:13 EST
Internal RFE bug #139031 entered; will be considered for future releases.
Comment 3 Keve Gabbert 2005-01-06 12:38:15 EST
*** Bug 144200 has been marked as a duplicate of this bug. ***
Comment 4 Geoff Gustafson 2005-03-23 17:12:33 EST
This change...


is present in kernel-2.6.9-i686.config, in kernel-2.6.9-6.31.EL.

Is this all that is needed? Done for U1?
Comment 5 Dave Jones 2005-03-23 19:20:21 EST
should be, though I've personally not tested the functionality.
Comment 6 William Cohen 2005-03-24 09:55:15 EST
I installed kernel-2.6.9-6.31.EL.i686.rpm, and verified that it worked as
expected on a UP Athlon machine.

$ opreport --long-filenames
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
  samples|      %|
     3253 99.1768 /usr/lib/debug/lib/modules/2.6.9-6.31.EL/vmlinux
       11  0.3354 /bin/bash
        9  0.2744 /lib/tls/libc-2.3.4.so
        3  0.0915 /ext3
        3  0.0915 /usr/bin/oprofiled
        1  0.0305 /jbd

Note You need to log in before you can comment on or make changes to this bug.