kernprof
[Top] [All Lists]

Kernprof with gcc 3.0.2

To: kernprof@xxxxxxxxxxx
Subject: Kernprof with gcc 3.0.2
From: Daniel Phillips <phillips@xxxxxxxxxxxxxx>
Date: Mon, 29 Oct 2001 04:51:39 +0100
Sender: owner-kernprof@xxxxxxxxxxx
Hi,

I just started using kernprof.  First, thanks for all your hard work in 
putting together this tool and keeping it current.

I built kernprof with gcc 3.0.2 and was able to boot ok.  I did not patch the 
compiler.  I have used kernprof -i successfully, but kernprof have seen no 
discernible results for call graphs.  I imagine I'm supposed to do this:

    kernprof -tcg
    kernprof -b
    <wait a while>
    kernprof -g

Is that correct?  Nothing happens.  PC sampling works fine.  Does this mean 
that mcount isn't working?

I didn't have any luck with pmc.

By the way, is there supposed to be a gmon.c, or is that function handled by 
kernprof now?

Finally, I made this change to the Makefile to get it to compile:

-LINUX_INC_ROOT = /usr/include
+LINUX_INC_ROOT = /usr/src/linux/include

--
Daniel

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