This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]