kernprof
[Top] [All Lists]

mcount issues...

To: kernprof@xxxxxxxxxxx
Subject: mcount issues...
From: Jarrett Redd <jarrett_l_redd@xxxxxxxxx>
Date: Thu, 14 Jun 2001 18:57:39 -0700 (PDT)
Sender: owner-kernprof@xxxxxxxxxxx
Howdy folks... hopefully I'm not asking a terribly stupid question, but I have
read the FAQ, and everything I could find.  Can't resolve this simple issue,
and I'm hoping someone out there knows the (probably) very simple answer:

I'm trying to get kernel profiling enabled, but my kernel modules cannot
resolve the mcount symbol.

I built a 2.4.5 kernel, with the profile patch, and I turned on kernel mcount
profiling.  I used gcc-2.95.3, with the appropriate regparm patch applied. 
When I check the System.map for this kernel, I can see that the mcount symbol
does indeed exist.  And I can see in the modules that they have an unresolved
mcount symbol there.  And yet, when I boot the kernel, the modules cannot
resolve the mcount symbol.  I checked /proc/ksyms and mcount is not listed
there.

Any ideas why this might be happening?



=====
Jarrett L. Redd (KG6ELZ)

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

<Prev in Thread] Current Thread [Next in Thread>