summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2010-06-14 14:56:33 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-06-17 10:06:27 -0300
commit70c3856b2f1304e0abc65f1b96a8c60ddfc0fb9e (patch)
tree69230e53848da5a55e6148f57657c6bc3b531123 /tools/perf/Documentation
parentcf103a14dd2ab23f847e998c8881ea4a5f8090bf (diff)
downloadlinux-70c3856b2f1304e0abc65f1b96a8c60ddfc0fb9e.tar.gz
linux-70c3856b2f1304e0abc65f1b96a8c60ddfc0fb9e.tar.bz2
linux-70c3856b2f1304e0abc65f1b96a8c60ddfc0fb9e.zip
perf symbols: Function descriptor symbol lookup
Currently symbol resolution does not work for 64-bit programs on architectures that use function descriptors such as ppc64. The problem is that a symbol doesn't point to a text address, it points to a data area that contains (amongst other things) a pointer to the text address. We look for a section called ".opd" which is the function descriptor area. To create the full symbol table, when we see a symbol in the function descriptor section we load the first pointer and use that as the text address. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <1276523793-15422-1-git-send-email-ebmunson@us.ibm.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Eric B Munson <ebmunson@us.ibm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
0 files changed, 0 insertions, 0 deletions