perf probe: Begin and end libdwfl report session correctly
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 30 Sep 2015 16:41:28 +0000 (01:41 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 21:34:34 +0000 (18:34 -0300)
commit9135949ddd9d0d8d73a2f441912508d25a4a82a2
treea182c103c8b9b327301aca8f48dd4e565de484e0
parent663b1151f2d674e2004c015cbe9995749033c49a
perf probe: Begin and end libdwfl report session correctly

Fix a trival bug about libdwfl usage of the report session, it should
explicitly begin and end a report session around dwfl_report_offline().

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20150930164128.3733.59876.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c