linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frederic Weisbecker <fweisbec@gmail.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Peter Zijlstra <peterz@infradead.org>,
	Arnaldo Carvalho de Melo <acme@infradead.org>,
	Borislav Petkov <bp@alien8.de>, Jiri Olsa <jolsa@redhat.com>,
	Arun Sharma <asharma@fb.com>, Namhyung Kim <namhyung.kim@lge.com>,
	Michael Rubin <mrubin@google.com>,
	David Sharp <dhsharp@google.com>,
	Vaibhav Nagarnaik <vnagarnaik@google.com>,
	Julia Lawall <julia@diku.dk>, Tom Zanussi <tzanussi@gmail.com>,
	David Ahern <dsahern@gmail.com>
Subject: Re: [PATCH 00/15] tools: Unify perf and trace-cmd trace event format parsing v3
Date: Mon, 21 May 2012 13:36:54 +0200	[thread overview]
Message-ID: <20120521113651.GA23687@somewhere> (raw)
In-Reply-To: <20120521084422.GC31407@gmail.com>

On Mon, May 21, 2012 at 10:44:22AM +0200, Ingo Molnar wrote:
> 
> * Frederic Weisbecker <fweisbec@gmail.com> 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.

      reply	other threads:[~2012-05-21 11:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 12:26 [PATCH 00/15] tools: Unify perf and trace-cmd trace event format parsing v3 Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 01/15] perf: Separate out trace-cmd parse-events from perf files Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 02/15] tools/events: Add files to create libtraceevent.a Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 03/15] perf: Build libtraceevent.a Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 04/15] events: Update tools/lib/traceevent to work with perf Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 05/15] perf: Have perf use the new libtraceevent.a library Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 06/15] perf/events: Add flag to produce nsec output Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 07/15] perf/events: Add flag/symbol format_flags Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 08/15] perf/events: Correct size given to memset Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 09/15] parse-events: Handle invalid opcode parsing gracefully Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 10/15] parse-events: Handle opcode parsing error Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 11/15] parse-events: Let pevent_free() take a NULL pointer Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 12/15] parse-events: Support '+' opcode in print format Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 13/15] parse-events: Allow '*' and '/' operations in TP_printk Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 14/15] parse-event: Fix memset pointer size bug in handle Frederic Weisbecker
2012-04-25 12:26 ` [PATCH 15/15] parse-events: Rename struct record to struct pevent_record Frederic Weisbecker
2012-05-07  8:14 ` [PATCH 00/15] tools: Unify perf and trace-cmd trace event format parsing v3 Ingo Molnar
2012-05-07  8:36   ` Namhyung Kim
2012-05-07 12:57     ` Steven Rostedt
2012-05-07 13:01   ` Steven Rostedt
2012-05-07 13:37   ` Steven Rostedt
2012-05-07 14:13     ` Ingo Molnar
2012-05-21  6:40   ` Namhyung Kim
2012-05-21  8:44 ` Ingo Molnar
2012-05-21 11:36   ` Frederic Weisbecker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120521113651.GA23687@somewhere \
    --to=fweisbec@gmail.com \
    --cc=acme@infradead.org \
    --cc=asharma@fb.com \
    --cc=bp@alien8.de \
    --cc=dhsharp@google.com \
    --cc=dsahern@gmail.com \
    --cc=jolsa@redhat.com \
    --cc=julia@diku.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=mrubin@google.com \
    --cc=namhyung.kim@lge.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=tzanussi@gmail.com \
    --cc=vnagarnaik@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).