Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757718Ab3CSIxs (ORCPT ); Tue, 19 Mar 2013 04:53:48 -0400 Received: from LGEMRELSE7Q.lge.com ([156.147.1.151]:61599 "EHLO LGEMRELSE7Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755606Ab3CSIxq (ORCPT ); Tue, 19 Mar 2013 04:53:46 -0400 X-AuditID: 9c930197-b7cc2ae000000eb7-49-51482798fbe3 From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML , Steven Rostedt , Frederic Weisbecker Subject: [PATCHSET 0/9] perf util: Cleanup die() and its friends Date: Tue, 19 Mar 2013 17:53:35 +0900 Message-Id: <1363683224-28804-1-git-send-email-namhyung@kernel.org> X-Mailer: git-send-email 1.7.11.7 X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1397 Lines: 38 Hi, I've done this painful cleanup of *die() removal. ;-) It now can return error code rather than calling die() when something bad happen. It only touches tracepoint related code and I tested it's working normally but lacks thorough testing in various environment. Please help testing more! Thanks, Namhyung Namhyung Kim (9): perf util: Let get_tracing_file() can return NULL perf util: Get rid of malloc_or_die() in trace-event-info.c perf util: Get rid of write_or_die() from trace-event-info.c perf util: Get rid of die() calls from trace-event-info.c perf util: Handle failure case in trace_report() perf util: Get rid of malloc_or_die() in trace-event-read.c perf util: Get rid of read_or_die() in trace-event-read.c perf util: Get rid of die() calls in trace-data-read.c perf util: Cleanup calc_data_size logic tools/perf/util/header.c | 11 +- tools/perf/util/trace-event-info.c | 336 +++++++++++++++++++++++++------------ tools/perf/util/trace-event-read.c | 256 ++++++++++++++++++---------- tools/perf/util/trace-event.h | 2 +- 4 files changed, 403 insertions(+), 202 deletions(-) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/