diff options
author | Masami Hiramatsu <[email protected]> | 2016-08-06 19:29:48 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-08-09 10:47:43 -0300 |
commit | 8e34189b347d76acf48ce05831176582201b664d (patch) | |
tree | ffdc09cda5483e9124820d3fa46999e649a43558 /scripts/gdb/vmlinux-gdb.py | |
parent | 887fa86d6fd7a45cee2d0f9d5f75026786d61df2 (diff) |
perf probe: Adjust map->reloc offset when finding kernel symbol from map
Adjust map->reloc offset for the unmapped address when finding
alternative symbol address from map, because KASLR can relocate the
kernel symbol address.
The same adjustment has been done when finding appropriate kernel symbol
address from map which was introduced by commit f90acac75713 ("perf
probe: Find given address from offline dwarf")
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions