Date: Thu, 8 Nov 2001 17:51:05 -0500 (EST) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: freebsd-hackers@freebsd.org Subject: How to profiling a KLD? Message-ID: <Pine.SOL.4.21.0111081744030.15576-100000@onyx>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0111081744030.15576-100000>