[PATCH] Extend prifiling tool to support Vsize and Rss memory usage profile per call

Shuang He shuang.he at intel.com
Mon Feb 18 19:15:58 PST 2013


On 2013/2/18 23:39, Eric Anholt wrote:
> Shuang He <shuang.he at intel.com> writes:
>
>> Add one new option -pmem for retrace tool to track Visze and Rss usage
>> during every call
> What is better about this than using massif?

Good question. After working with pvr driver, we realized that their 
memory management is quite complex, and most of memory management are 
within kernel, which is not visible from user space. So valgrind may not 
be able to catch such condition. So this is just an complementary tool 
in this condition.

Thanks
     --Shuang


More information about the apitrace mailing list