• Rinat Ibragimov's avatar
    memleak: expand allocator coverage (#1214) · 2c1799c9
    Rinat Ibragimov authored
    * memleak: handle libc allocation functions other than malloc
    
    * memleak: use tracepoints to track kernel allocations
    
    * memleak: add combined-only mode
    
    With large number of outstanding allocations, amount of data passed from
    kernel becomes large, which slows everything down.
    
    This patch calculates allocation statistics inside kernel, allowing user-
    space part to pull combined statistics data only, thus significantly
    reducing amount of passed data.
    
    * memleak: increase hashtable capacities
    
    There are a lot of allocations happen in kernel. Default values are not
    enough to keep up.
    
    * test: add a test for the memleak tool
    2c1799c9
CMakeLists.txt 5.18 KB