Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2009 21:54:51 -0800
From:      Julian Elischer <julian@elischer.org>
To:        FreeBSD Current <current@freebsd.org>
Subject:   profiling kernel modules.
Message-ID:  <4B25D32B.70306@elischer.org>

next in thread | raw e-mail | index | archive | help
It's been a few years since I last profiled the kernel, (probably a 
decade :-)  but it was always a monolithic compiled kernel. Now I want 
to profile a module, but I'm not finding a lot of specific 
instructions as to how to do this, For example how to get the loaded 
addresses for  the modules taken into account, or what arguments need 
to be added to the compile of the module to make sure it has any code 
stubs that may be needed, etc.

if you know anything about these subjects, or related (e.g. usin
the performance counters in the kernel/modules I'd love to get your 
inpout and maybe turn out a doc on how to do this.

This would be for -current (9) or 8.0R.

Julian.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B25D32B.70306>