Tracing allocators of virtual memory and main memory

sahil aggarwal sahil.agg15 at gmail.com
Wed Mar 11 12:07:29 EDT 2015


Hi all

If i want to trace the allocators of virtual memory and main memory of
process using ftrace on which functions i need to enable the probe.?

Currently i have enabled sys_mmap,sys_brk for virtual allocations and
mm_page_alloc, kmalloc, kmem_cache_alloc for main memory allocation.
Will this give me whole picture of virtual and main memory
allocations.?

Thanks
Regards
Sahil



More information about the Kernelnewbies mailing list