Bug 110479 - Creating new OProfile launch configuration fails (NPE)
Creating new OProfile launch configuration fails (NPE)
Product: Red Hat Developer Suite
Classification: Retired
Component: eclipse (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Keith Seitz
Depends On:
  Show dependency treegraph
Reported: 2003-11-19 17:02 EST by Jeremy Handcock
Modified: 2007-04-18 12:59 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-19 19:36:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
.log trace (7.42 KB, text/plain)
2003-11-19 17:05 EST, Jeremy Handcock
no flags Details

  None (edit)
Description Jeremy Handcock 2003-11-19 17:02:01 EST
Description of problem:
A NPE occurs when creating a "Profile C/C++ Application" launch
configuration, and the launcher cannot continue.

Version-Release number of selected component (if applicable):

How reproducible: Always

Steps to Reproduce:
1. Create a "Profile C/C++ Application" launch configuration (Run ->
Run..., select Profile C/C++ Application, click New)
2. Enter root password

Will attach .log trace.
Comment 1 Jeremy Handcock 2003-11-19 17:05:42 EST
Created attachment 96070 [details]
.log trace
Comment 2 Keith Seitz 2003-11-19 19:36:52 EST
Ok, I finally figured it out... Topanaga is running a kernel which
does NOT support Oprofile.

If you try to initialize oprofile from the command line, you see:
You are attempting to run "opcontrol-wrapper" which requires
privileges, but more information is needed in order to do so.
Password for root:
modprobe: Can't locate module oprofile
modprobe: Can't locate module oprofile
Kernel doesn't support oprofile
-bash-2.05b$ rpm -q oprofile
-bash-2.05b$ grep OPROFILE /boot/config-2.4.21-4.EL
# CONFIG_OPROFILE is not set
# CONFIG_OPROFILE is not set
# CONFIG_OPROFILE is not set

No oprofile kernel!

Clearly, I've neglected to add warnings and error handling for the
case where oprofile does not initialize.

I don't see this because my machine is SMP, and oprofile is compiled
as a module for the SMP kernel. I will investigate what the proper
course of action is (it could be as simple as rebuilding kernel

I just pray that single-CPU systems need to use the RTC...
Comment 3 Keith Seitz 2003-11-20 10:48:45 EST
According to oprofile and kernel folk, you must run the SMP kernel to
use oprofile. "Official" explanation:

On Wed, Nov 12, 2003 at 09:22:00PM +0100, John Hearns wrote:

Hi John,

 > I note though that the oprofile module is built into
 > the 2.4.22-1.2115.nptlsmp kernel only - the uniprocessor one
 > hasn't got it. Anyone know why? Not looking to point fingers,
 > just curious as there might be an interesting reason.

historical reasons. Enabling UP-APIC has caused problems for
many systems in the past. Maybe for FC2 we can run a beta with
it on, and DMI blacklist any bad eggs, and see how far that
gets us.

FWIW, I miss oprofile on UP too 8-)


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