Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752905AbbB0OPM (ORCPT ); Fri, 27 Feb 2015 09:15:12 -0500 Received: from smtprelay0076.hostedemail.com ([216.40.44.76]:58222 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751334AbbB0OPL (ORCPT ); Fri, 27 Feb 2015 09:15:11 -0500 X-Session-Marker: 6E657665747340676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2693:2898:3138:3139:3140:3141:3142:3354:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:5007:6119:6261:7875:7903:8603:9010:10004:10400:10848:10967:11232:11658:11914:12043:12291:12517:12519:12683:12740:13069:13311:13357:14096:14097:21060:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: rat24_49e4157d5503a X-Filterd-Recvd-Size: 2901 Date: Fri, 27 Feb 2015 09:15:05 -0500 From: Steven Rostedt To: Javi Merino Cc: "linux-kernel@vger.kernel.org" , Namhyung Kim , Arnaldo Carvalho de Melo , Jiri Olsa , Punit Agrawal Subject: Re: [PATCH v5 3/3] tools lib traceevent: Add support for __print_array() Message-ID: <20150227091505.04fc20ca@gandalf.local.home> In-Reply-To: <20150227123232.GC2877@e104805> References: <1422449335-8289-1-git-send-email-javi.merino@arm.com> <1422449335-8289-4-git-send-email-javi.merino@arm.com> <20150227123232.GC2877@e104805> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2024 Lines: 52 On Fri, 27 Feb 2015 12:32:32 +0000 Javi Merino wrote: > Hi Steve, > > On Wed, Jan 28, 2015 at 12:48:55PM +0000, Javi Merino wrote: > > Trace can now generate traces with variable element size arrays. Add > > support to parse them. > > > > Cc: Namhyung Kim > > Cc: Arnaldo Carvalho de Melo > > Cc: Steven Rostedt > > Cc: Jiri Olsa > > Signed-off-by: Javi Merino > > --- > > tools/lib/traceevent/event-parse.c | 93 ++++++++++++++++++++++++++++++++++++++ > > tools/lib/traceevent/event-parse.h | 8 ++++ > > 2 files changed, 101 insertions(+) > > I've seen that patch 1 of this series is now in mainline. What about > patches 2 and 3 (the updates to tools/lib/traceevent)? Shall I resend > them? Patches 2 and 3 are in tools/lib and need to go through Jiri and Arnaldo. Please repost them again. I can give them acks. > > These two patches should also be applied to trace-cmd. Do you want me > to send patches for that to linux-kernel or will you take care of > applying them there? No need, I can pull them from here. I just been a bit busy to do so. > > Incidentally, why are there two copies of libtraceevent? Shouldn't > this live only in one place (either kernel or trace-cmd)? Actually, libtraceevent does not exist in trace-cmd, just the event parsing code. libtraceevent needs to be packaged up and supplied as a library. That's on our todo list, but never seems to get done :-/ Until libtraceevent is provided by all distros, there will continue to be duplicate code. And it's not just with these two tools. I can think of two other tools that also share this code for parsing. It really does need to get packaged up. -- Steve -- 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/