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
|