From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752973Ab3AYHxi (ORCPT ); Fri, 25 Jan 2013 02:53:38 -0500 Received: from mail-ea0-f173.google.com ([209.85.215.173]:61960 "EHLO mail-ea0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751197Ab3AYHxf (ORCPT ); Fri, 25 Jan 2013 02:53:35 -0500 Date: Fri, 25 Jan 2013 08:53:30 +0100 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Steven Rostedt , linux-kernel@vger.kernel.org, Corey Ashford , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra Subject: Re: [PATCH] tools lib traceevent: Handle dynamic array's element size properly Message-ID: <20130125075330.GA21036@gmail.com> References: <1358772251-4411-1-git-send-email-jolsa@redhat.com> <1358829942.21576.49.camel@gandalf.local.home> <20130122131646.GB1037@krava.brq.redhat.com> <20130124192801.GB14382@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130124192801.GB14382@infradead.org> 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 * Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 22, 2013 at 02:16:47PM +0100, Jiri Olsa escreveu: > > On Mon, Jan 21, 2013 at 11:45:42PM -0500, Steven Rostedt wrote: > > > This is only used in this function (the field_dynamic_elem_size() is > > > only called here). Can we not add the field->type_dyn, and just use a > > > local variable here. You just need to make sure you free it correctly. > > > > ook, will send v2 > > Waiting for this fix, just got 'perf test' crashing on it again :-) > > Till then I implemented 'perf test --skip': Hm, I think perf test should fork() a testing thread and be robust against a child catching a SIGSEGV? That would also protect against a test corrupting perf test itself. Thanks, Ingo