How can I trace when the allocated memory is free after kmalloc ?
Mark Wielaard
mjw@redhat.com
Tue Sep 20 09:12:00 GMT 2011
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
More information about the Systemtap
mailing list