hi,
this patchset adds data behind the [vdso] map as a special DSO.
This is helpful for dwarf unwind, because now we can unwind
samples taken from [vdso] map. Example output is given in
patch 4/4.

Patch 1/1 fixies separate issue.

Attached patches:
  1/4 perf tools: Do backtrace post unwind only if we regs and stack were 
captured
  2/4 perf tools: Add memdup function
  3/4 perf dso: Make dsos__find function globally available
  4/4 perf tools: Back [vdso] DSO with real data

thanks,
jirka

Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
---
 tools/perf/Makefile                    |   2 ++
 tools/perf/builtin-buildid-cache.c     |   3 ++-
 tools/perf/util/header.c               |  70 
+++++++++++++++++++++++++++++++++++++++-----------------
 tools/perf/util/header.h               |   2 +-
 tools/perf/util/include/linux/string.h |   2 ++
 tools/perf/util/map.c                  |  12 +++++++---
 tools/perf/util/session.c              |   7 ++++++
 tools/perf/util/string.c               |  18 ++++++++++++++-
 tools/perf/util/symbol.c               |   2 +-
 tools/perf/util/symbol.h               |   1 +
 tools/perf/util/vdso.c                 | 111 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/vdso.h                 |  18 +++++++++++++++
 12 files changed, 220 insertions(+), 28 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to