This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: How can I trace when the allocated memory is free after kmalloc ?
On Tue, 2011-09-20 at 09:38 +0900, ììíB wrote:
> But vm.kfree is not working. ( make target phone reset )
> ( vm.kmalloc is ok .)
>
> Below is my test code .
>
> -------------------------------------
> probe vm.kfree { println(vm.kfree \n")}
> -------------------------------------
>
> please recommand what I should try .
Try getting a serial console to to read out the kernel messages.
I don't know how that works on your android based system, but here are
some generic linux kernel setups:
http://sourceware.org/systemtap/wiki/DeveloperSetupTips