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 <a...@ghostprotocols.net>
Cc: Peter Zijlstra <a.p.zijls...@chello.nl>
Cc: Ingo Molnar <mi...@elte.hu>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Frederic Weisbecker <fweis...@gmail.com>
---
 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 majord...@vger.kernel.org
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