• Peter Zijlstra's avatar
    perf_counter: executable mmap() information · 0a4a9391
    Peter Zijlstra authored
    Currently the profiling information returns userspace IPs but no way
    to correlate them to userspace code. Userspace could look into
    /proc/$pid/maps but that might not be current or even present anymore
    at the time of analyzing the IPs.
    
    Therefore provide means to track the mmap information and provide it
    in the output stream.
    
    XXX: only covers mmap()/munmap(), mremap() and mprotect() are missing.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Acked-by: default avatarPaul Mackerras <paulus@samba.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Orig-LKML-Reference: <20090330171023.417259499@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    0a4a9391
mmap.c 64.5 KB