lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 21 May 2012 13:36:54 +0200
From:	Frederic Weisbecker <fweisbec@...il.com>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Steven Rostedt <rostedt@...dmis.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	Borislav Petkov <bp@...en8.de>, Jiri Olsa <jolsa@...hat.com>,
	Arun Sharma <asharma@...com>,
	Namhyung Kim <namhyung.kim@....com>,
	Michael Rubin <mrubin@...gle.com>,
	David Sharp <dhsharp@...gle.com>,
	Vaibhav Nagarnaik <vnagarnaik@...gle.com>,
	Julia Lawall <julia@...u.dk>, Tom Zanussi <tzanussi@...il.com>,
	David Ahern <dsahern@...il.com>
Subject: Re: [PATCH 00/15] tools: Unify perf and trace-cmd trace event format
 parsing v3

On Mon, May 21, 2012 at 10:44:22AM +0200, Ingo Molnar wrote:
> 
> * Frederic Weisbecker <fweisbec@...il.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ