I am trying to profile a KLD.  It seems to me that adding the following
line in its make file does not help:

COPTS+= -pg -DGPROF

The kernel was configured with "config -p" and I used kgmon -b, kgmon -h,
kgmon -p, and gprof /kernel gmon.out > gprof.out to collect the data. But
none of my routines in the KLD show up in gprof.out.  I must be missing
something.  Any help is appreciated.

-Zhihui


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to