Re: Tracing allocators of virtual memory and main memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On March 11, 2015 12:07:29 PM EDT, sahil aggarwal <sahil.agg15@xxxxxxxxx> wrote:
>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
>
>______
Greetings Sachil, 
The best way to do this is find 
out the PID of your application 
and look for it in /proc as there
should be a directory with the
 information your looking for. 
Nick
>Kernelnewbies mailing list
>Kernelnewbies@xxxxxxxxxxxxxxxxx
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux