]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Store data mmaps for dwarf unwind
authorJiri Olsa <jolsa@redhat.com>
Thu, 7 Jan 2016 13:30:22 +0000 (14:30 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Jan 2016 17:17:45 +0000 (14:17 -0300)
commitd98e2b1a36ce9b558e763b98b8b6803483cde510
tree024895ae125ab79860fba29e39cc3b9d37399711
parent4ddfeaf16a523c779bdf04c8bcd058542a2186f9
perf record: Store data mmaps for dwarf unwind

Currently we don't synthesize data mmap by default. It depends on -d
option, that enables data address sampling.

But we've seen cases (softice) where DWARF unwinder went through non
executable mmaps, which we need to lookup in MAP__VARIABLE tree.

Making data mmaps to be synthesized for dwarf unwind as well.

Reported-by: Noel Grandin <noelgrandin@gmail.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20160107133022.GA32115@krava.brq.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c