kernprof
[Top] [All Lists]

Re: problems

To: "Randy Heisch" <heisch@xxxxxxxxxxxxxx>
Subject: Re: problems
From: "John Hawkes" <hawkes@xxxxxxxxxxxx>
Date: Tue, 16 Jan 2001 13:59:44 -0800
Cc: <kernprof@xxxxxxxxxxx>
References: <20010116213400Z553678-490+541@xxxxxxxxxxx>
Sender: owner-kernprof@xxxxxxxxxxx
> I get "No such device" for /dev/profile when I try to run kernprof.

Check your .config.  There should be three kernprof/profiling-lrelated
options turned on for full functionality:  CONFIG_PROFILING,
CONFIG_FRAME_POINTER, and CONFIG_MCOUNT.  Did you do a "make oldconfig"
and turn those on before running "make dep" and "make install"?

>  I think the module\(s\?\) are not getting loaded;

I don't build profiling as a module.  Try building it into the kernel.

> I manually try to insmod profile.o \(in the
/lib/modules/2.4.0-test8/kernel/drivers/char\)
> \(I've successfully applied the 0.7-2.4.0-8.patch\) but I get
> "unresolved symbols: prof_multiplier and setup_profiling_timer".

Build profiling into the kernel.

John Hawkes




<Prev in Thread] Current Thread [Next in Thread>
  • Re: problems, John Hawkes <=