tracing kmalloc, get_free_pages

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

 



hi,

i am trying to trace the kmalloc, __get_free_pages calls made inside the kernel for memory allocation  redirecting the calls via #define to __get_free_pages_dbg() and kmalloc_dbg(). The *_dbg functions get the additional parameters __FILE__ and __LINE__ and call functions which log this information in a file created in /proc. but this is not working properly for me. the file is being created in/proc but it is empty and not showing any logged info.

in fact in have tried to port a patch mon-diff-2.0.29.gz given in unofficial patches for linux version 2.0.29 to linux version 2.2.16. the 2.2 version uses slab allocator through caches. i  feel that patch should work for 2.2 as it involves only redefinition of the calls

any help or suggestionsin this regard would be very useful

regards

sudhir



Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

[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