tools/events: Add files to create libtraceevent.a
authorSteven Rostedt <srostedt@redhat.com>
Thu, 5 Apr 2012 22:47:53 +0000 (00:47 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 25 Apr 2012 10:28:28 +0000 (12:28 +0200)
commitf7d82350e597d76dc8765a55c7849843395728b0
tree6e254dde9c6b30dc9f5dc4fb28d3eeec86382e32
parent4ace73eef52c651b8f58415fb4476f4791c95e72
tools/events: Add files to create libtraceevent.a

Copy over the files from trace-cmd to the Linux tools directory
such that applications like perf and latencytrace can use the
more advanced parsing code.

Because some of the file names of perf conflict with trace-cmd file
names, the trace-cmd files have been renamed as follows:

 parse-events.c ==> event-parse.c
 parse-events.h ==> event-parse.h
 utils.h        ==> event-utils.h

The files have been updated to handle the changes to the header files
but other than that, they are identical to what was in the trace-cmd
repository. The history of these files, including authorship is
available at the git repo:

 git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git

The Makefile was also copied over, but most of it was removed to
focus on the parse-events code first. The parts of the Makefile for
the plugins have also been removed, but will be added back when the
plugin code is copied over as well. But that may be in its own
separate directory.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Arun Sharma <asharma@fb.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
tools/lib/traceevent/Makefile [new file with mode: 0644]
tools/lib/traceevent/event-parse.c [new file with mode: 0644]
tools/lib/traceevent/event-parse.h [new file with mode: 0644]
tools/lib/traceevent/event-utils.h [new file with mode: 0644]
tools/lib/traceevent/parse-filter.c [new file with mode: 0644]
tools/lib/traceevent/parse-utils.c [new file with mode: 0644]
tools/lib/traceevent/trace-seq.c [new file with mode: 0644]