Memory profiling tools for Linux Kernel

Kumar Amit Mehta gmate.amit at gmail.com
Fri Apr 4 08:09:36 EDT 2014


On Fri, Apr 04, 2014 at 01:49:05AM -0700, aaditya.gavandalkar at yahoo.com wrote:
> Hi,
> 
> You can you a heap profiler to check heap usage for example massif.
> 
> Massif is a tool under valgrind package. You can research on valgrind more for other helpful tools as well. Memcheck is bydefault in usage in valgrind.
> 
> Massif gives data in form of a graph which can be printed using ms_print command. Graph tells about various allocations done from heap and at what time.
> 
> Hope this helps

Unfortunately, valgrind won't work for Linux Kernel :(



More information about the Kernelnewbies mailing list