title: Memory profiler for C
body: <p>I need a memory profiler to know the memory usage for each function. I know valgrind (Massif) but it doesn't give me information about specific functions (at least, I don't know how to do it with massif)</p>
  
  <p>Do you know any tool for this purpose in Linux?</p>
  
  <p>Thanks!</p>