diff options
| author | Cody P Schafer <[email protected]> | 2012-08-10 22:22:58 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-08-13 17:33:01 +0000 |
| commit | 005f92947a0da7eb47b0f1ff611f8fc3d7ab4751 (patch) | |
| tree | 1cc08d9b9a5a4e7048a1d11a260a581917328ce8 /tools/perf/util/python.c | |
| parent | perf symbols: Introduce symsrc structure. (diff) | |
| download | kernel-005f92947a0da7eb47b0f1ff611f8fc3d7ab4751.tar.gz kernel-005f92947a0da7eb47b0f1ff611f8fc3d7ab4751.zip | |
perf symbols: Set symtab_type in dso__load_sym
In certain cases, dso__load requires dso->symbol_type to be set prior to
calling it. With the introduction of symsrc*, the symtab_type is now
stored in a symsrc which is then passed to dso__load_sym().
Change dso__load_sym() to use the symtab_type from them symsrc (setting
dso->symtab_type as well).
Setup for later patch
"perf symbols: Use both runtime and debug images"
Signed-off-by: Cody P Schafer <[email protected]>
Cc: David Hansen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Matt Hellsley <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
