perf test: 'unwind' test should create kernel maps
authorJiri Olsa <jolsa@redhat.com>
Fri, 27 Nov 2015 08:21:21 +0000 (09:21 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 27 Nov 2015 16:14:26 +0000 (13:14 -0300)
commit9bdcede563a831f139b5fc872f028ef844a7462e
tree4c0b4decfb3d3aea2154b66ca3d23cc4de3616d2
parentc4e079494f9258a3d2045779a3c9d6599c773dd9
perf test: 'unwind' test should create kernel maps

The 'perf test unwind' is failing because it forgot to create the kernel
maps, fix it.

After the patch:

  # perf test unwind
  40: Test dwarf unwind         : Ok

Reported-and-Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20151127082121.GA24503@krava.brq.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/dwarf-unwind.c