• P
    perf_counter: executable mmap() information · 0a4a9391
    Peter Zijlstra 提交于
    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: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Acked-by: NPaul Mackerras <paulus@samba.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Orig-LKML-Reference: <20090330171023.417259499@chello.nl>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    0a4a9391
mmap.c 64.5 KB