]> git.karo-electronics.de Git - linux-beck.git/commit
perf symbols: Ignore mapping symbols on ARM
authorDave Martin <dave.martin@linaro.org>
Mon, 9 Aug 2010 11:21:18 +0000 (12:21 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Aug 2010 19:10:36 +0000 (16:10 -0300)
commit696b97a5d2de9e2b22699300835e675dfffe8592
treef8e05f9c7b1f2983268c56daf2c6e586addb387c
parentb1b0267336b1b74eeb8884bac4be96296b719e67
perf symbols: Ignore mapping symbols on ARM

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: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c