diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2009-11-21 14:31:24 -0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-11-21 17:45:58 +0100 |
| commit | 90c83218c32d7c474da810cd3c9973a43ecbcb9b (patch) | |
| tree | 0682d2df050db19c45f3397f2a92550650c74fdf /scripts/objdiff | |
| parent | 8904b18046c2f050107f6449e887e7c1142b9ab9 (diff) | |
perf symbols: Fixup kernel_maps__fixup_end end map
We better call this routine after both the kernel and modules
are loaded, because as it was if there weren't modules it would not
be called, resulting in kernel_map->end remaining at zero, so no
map would be found and consequently the kernel symtab wouldn't
get loaded, i.e. no kernel symbols would be resolved.
Also this fixes another case, that is when we _have_ modules,
but the last map would have its ->end address not set before we
loaded its symbols, which would never happen because ->end was
not set.
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions