• Dave Martin's avatar
    perf symbols: Ignore mapping symbols on ARM · 696b97a5
    Dave Martin authored
    ARM ELF files use symbols with special names $a, $t, $d to identify regions of
    ARM code, Thumb code and data within code sections.  This can cause confusing
    output from the perf tools, especially for partially stripped binaries, or
    binaries containing user-added zero-sized symbols (which may occur in
    hand-written assembler which hasn't been fully annotated with .size
    directives).
    
    This patch filters out these symbols at load time.
    
    LKML-Reference: <1281352878-8735-2-git-send-email-dave.martin@linaro.org>
    Signed-off-by: default avatarDave Martin <dave.martin@linaro.org>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    696b97a5
symbol.c 55.5 KB