diff options
author | Namhyung Kim <[email protected]> | 2015-01-29 17:07:21 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-29 16:20:42 -0300 |
commit | f1f13af99a903ae873f5373e965508e0486c1c29 (patch) | |
tree | 183674eba3f82637bc6270ac15960cf6e31fa9c2 /lib/mpi/mpiutil.c | |
parent | 459a3df76c99124fd222586be7f10f862547e7a9 (diff) |
perf callchain: Cache eh/debug frame offset for dwarf unwind
When libunwind tries to resolve callchains it needs to know the offset
of .eh_frame_hdr or .debug_frame to access the dso.
Since it will always return the same result for a given DSO, just cache
the result as an optimization.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions