perf_counter tools: Cover PLT symbols too
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Jun 2009 03:54:33 +0000 (00:54 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 07:58:52 +0000 (09:58 +0200)
commit8ce998d6693bd02ab3b74ee1cc303ecb1fa9b514
tree425ed52012c706d6b7465f5c319e9f9891edc701
parenta32881066e58346f2901afe0ebdfbf0c562877e5
perf_counter tools: Cover PLT symbols too

PLT, the Program Linking Table, is used with the dynamic linker to
allow PIC code in executables and shared objects to figure out
where functions are in other shared objects.

It is one of the sources of unknown/unresolved symbols - this patch
does what binutils figures out when you ask it to disassembly.
(objdump -S)

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Stephane Eranian <eranian@googlemail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/util/symbol.c