Re: [PATCH 00/15] tools: Unify perf and trace-cmd trace event formatparsing v3

From: Frederic Weisbecker
Date: Mon May 21 2012 - 07:37:03 EST


On Mon, May 21, 2012 at 10:44:22AM +0200, Ingo Molnar wrote:
>
> * Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > This is essentially a rebase against latest tip:perf/core updates.
> > Mostly due to conflicts against the perf Makefile updates.
> >
> > I think we all agree that this library needs improvements but these
> > should rather be done incrementally. The current perf trace event parsing
> > is anyway much backward compared to that library.
> >
> > Default target is a static library in tools/libtraceevent/libtraceevent.a
> >
> > This can be pulled from:
> >
> > git://github.com/fweisbec/tracing.git
> > perf/parse-events-4
> >
> > Thanks.
> >
> > Julia Lawall (1):
> > perf/events: Correct size given to memset
> >
> > Steven Rostedt (10):
> > perf: Separate out trace-cmd parse-events from perf files
> > tools/events: Add files to create libtraceevent.a
> > perf: Build libtraceevent.a
> > events: Update tools/lib/traceevent to work with perf
> > perf: Have perf use the new libtraceevent.a library
> > perf/events: Add flag to produce nsec output
> > parse-events: Let pevent_free() take a NULL pointer
> > parse-events: Allow '*' and '/' operations in TP_printk
> > parse-event: Fix memset pointer size bug in handle
> > parse-events: Rename struct record to struct pevent_record
> >
> > Tom Zanussi (1):
> > perf/events: Add flag/symbol format_flags
> >
> > Vaibhav Nagarnaik (3):
> > parse-events: Handle invalid opcode parsing gracefully
> > parse-events: Handle opcode parsing error
> > parse-events: Support '+' opcode in print format
> >
> > tools/lib/traceevent/Makefile | 303 ++
> > tools/lib/traceevent/event-parse.c | 5065 ++++++++++++++++++++
> > tools/lib/traceevent/event-parse.h | 804 ++++
> > tools/lib/traceevent/event-utils.h | 80 +
> > tools/lib/traceevent/parse-filter.c | 2262 +++++++++
> > tools/lib/traceevent/parse-utils.c | 110 +
> > tools/lib/traceevent/trace-seq.c | 200 +
> > tools/perf/Makefile | 20 +-
> > tools/perf/builtin-kmem.c | 6 +-
> > tools/perf/builtin-lock.c | 26 +-
> > tools/perf/builtin-sched.c | 42 +-
> > tools/perf/builtin-script.c | 2 +-
> > .../util/scripting-engines/trace-event-python.c | 16 +-
> > tools/perf/util/trace-event-info.c | 4 +-
> > tools/perf/util/trace-event-parse.c | 3220 +------------
> > tools/perf/util/trace-event-read.c | 44 +-
> > tools/perf/util/trace-event.h | 269 +-
> > tools/scripts/Makefile.include | 1 +
> > 18 files changed, 9161 insertions(+), 3313 deletions(-)
> > create mode 100644 tools/lib/traceevent/Makefile
> > create mode 100644 tools/lib/traceevent/event-parse.c
> > create mode 100644 tools/lib/traceevent/event-parse.h
> > create mode 100644 tools/lib/traceevent/event-utils.h
> > create mode 100644 tools/lib/traceevent/parse-filter.c
> > create mode 100644 tools/lib/traceevent/parse-utils.c
> > create mode 100644 tools/lib/traceevent/trace-seq.c
>
> Pulled, thanks a lot Frederic!
>
> Ingo

Thanks a lot Ingo, this is a great step forward for our tools.

Now I guess we can start to think of backporting the remaining fixes
on the parse event code that reside in trace-cmd and then trace-cmd
can start using that library.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/