]> git.baikalelectronics.ru Git - kernel.git/commit
perf symbols: Fix annotation of vdso
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 14 Aug 2015 12:50:06 +0000 (15:50 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Aug 2015 14:07:38 +0000 (11:07 -0300)
commit3eda8d9fb5211defa3cba77113b2a3a3c042f731
tree3af9b8c6edd012f9cadd7d1375bb7cac05ec60d6
parent6f97d87fb503ebad867c8c7ca5d815b8754d4e81
perf symbols: Fix annotation of vdso

Older kernels attempt to prelink vdso to its virtual address.  To permit
annotation using objdump, the map__rip_2objdump() calculation must
result in that same address which we can infer from the start and offset
of the text section.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1439556606-11297-1-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c