"visualize" kernel memory allocations

Volker volker at vwsoft.com
Mon Apr 14 19:42:21 UTC 2008


Hi hackers!

I need to hunt kernel memory allocations done by a kld. Unfortunately
the kld in question is a blob, no access to source code, so I need to
check for kmem_alloc() + kmem_malloc() + kmem_free() and print
information from there to the console screen.

>From within these functions, I need to get the name (or an ID) of the
module trying to allocate memory (and display that or - better - filter
some allocations out).

Thx,

Volker


More information about the freebsd-hackers mailing list