Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 21:18:31 +0200
From:      Volker <volker@vwsoft.com>
To:        hackers@freebsd.org
Subject:   "visualize" kernel memory allocations
Message-ID:  <4803AE07.9010106@vwsoft.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4803AE07.9010106>