[PATCH 13/16] perf symbol: switch dso__synthesize_plt_symbols() to use symsrc

2012-08-10 Thread Cody P Schafer
Previously dso__synthesize_plt_symbols() was reopening the elf file to obtain dynsyms from it. Rather than reopen the file, use the already opened reference within the symsrc to access it. Setup for the later patch "perf symbol: use both runtime and debug images" Signed-off-by: Cody P Schafer

[PATCH 13/16] perf symbol: switch dso__synthesize_plt_symbols() to use symsrc

2012-08-10 Thread Cody P Schafer
Previously dso__synthesize_plt_symbols() was reopening the elf file to obtain dynsyms from it. Rather than reopen the file, use the already opened reference within the symsrc to access it. Setup for the later patch perf symbol: use both runtime and debug images Signed-off-by: Cody P Schafer

[PATCH 13/16] perf symbol: switch dso__synthesize_plt_symbols() to use symsrc

2012-08-09 Thread Cody P Schafer
Previously dso__synthesize_plt_symbols() was reopening the elf file to obtain dynsyms from it. Rather than reopen the file, use the already opened reference within the symsrc to access it. Setup for the later patch "perf symbol: use both runtime and debug images" Signed-off-by: Cody P Schafer

[PATCH 13/16] perf symbol: switch dso__synthesize_plt_symbols() to use symsrc

2012-08-09 Thread Cody P Schafer
Previously dso__synthesize_plt_symbols() was reopening the elf file to obtain dynsyms from it. Rather than reopen the file, use the already opened reference within the symsrc to access it. Setup for the later patch perf symbol: use both runtime and debug images Signed-off-by: Cody P Schafer