From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755744Ab2F1QYy (ORCPT ); Thu, 28 Jun 2012 12:24:54 -0400 Received: from mail-yw0-f42.google.com ([209.85.213.42]:63593 "EHLO mail-yw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754375Ab2F1QYx (ORCPT ); Thu, 28 Jun 2012 12:24:53 -0400 Date: Thu, 28 Jun 2012 13:24:48 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , LKML , Namhyung Kim , Frederic Weisbecker , Steven Rostedt Subject: Re: [PATCH] tools lib traceevent: Replace malloc_or_die to plain malloc in alloc_event() Message-ID: <20120628162448.GC6475@infradead.org> References: <1339396133-9839-1-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339396133-9839-1-git-send-email-namhyung@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Jun 11, 2012 at 03:28:53PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > Because the only caller of the alloc_event() > (pevent_parse_event) checks return value properly, > it can be changed to use plain malloc. Thanks, applied to perf/core. - Arnaldo