[PATCH 0/4] perf tools: Back [vdso] DSO with real data

From: Jiri Olsa
Date: Mon Sep 10 2012 - 12:50:46 EST


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 <acme@xxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/