]> git.baikalelectronics.ru Git - kernel.git/commit
perf report: Check error during report__collapse_hists()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 16 Feb 2016 14:08:26 +0000 (23:08 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Feb 2016 22:17:50 +0000 (19:17 -0300)
commit343f1e2e758254c6602c191d40eb5d83014e0c5d
treeb0a0ae60b4cbcfcc88191cd8dd866a6cae1ab09a
parent9b23904b7437336a9a1051d7a0c31a14d6e300aa
perf report: Check error during report__collapse_hists()

If it returns an error, warn user and bail out instead of silently
ignoring it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1455631723-17345-9-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c