On Fri, 27 Feb 2015 12:32:32 +0000 Javi Merino <[email protected]> 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 <[email protected]> > > Cc: Arnaldo Carvalho de Melo <[email protected]> > > Cc: Steven Rostedt <[email protected]> > > Cc: Jiri Olsa <[email protected]> > > Signed-off-by: Javi Merino <[email protected]> > > --- > > 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

