From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753937AbcAVNmt (ORCPT ); Fri, 22 Jan 2016 08:42:49 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35758 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753619AbcAVNmm (ORCPT ); Fri, 22 Jan 2016 08:42:42 -0500 From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern Subject: [PATCHSET 0/7] perf tools: Check error during collapsing hist entries Date: Fri, 22 Jan 2016 22:41:33 +0900 Message-Id: <1453470100-8637-1-git-send-email-namhyung@kernel.org> X-Mailer: git-send-email 2.6.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset checks error case during the process of collapsing hist entries. It's a preparation of upcoming hierarchy patchset which adds more work in the collapsing path. If there's an error during this stage, it'll stop processing and show warning to user. Thanks, Namhyung Namhyung Kim (7): perf callchain: Check return value of add_child() perf callchain: Check return value of fill_node() perf callchain: Add enum match_result for match_chain() perf callchain: Check return value of split_add_child() perf callchain: Check return value of append_chain_children() perf hists: Return error from hists__collapse_resort() perf report: Check error during report__collapse_hists() tools/perf/builtin-report.c | 14 +++++-- tools/perf/util/callchain.c | 94 +++++++++++++++++++++++++++++++++------------ tools/perf/util/hist.c | 27 ++++++++----- tools/perf/util/hist.h | 4 +- 4 files changed, 100 insertions(+), 39 deletions(-) -- 2.6.4