1. 25 Apr, 2012 5 commits
    • Steven Rostedt's avatar
      events: Update tools/lib/traceevent to work with perf · 668fe01f
      Steven Rostedt authored
      Some of the util functions of libtraceevent.a conflict with perf,
      such as die(), warning() and others. Move them into event-util.h
      that is not included by the perf tools.
      
      Also, as perf compiles with 'bool' the filter_arg->bool needs to
      be renamed to filter_arg->boolean.
      Signed-off-by: default avatarSteven 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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      668fe01f
    • Steven Rostedt's avatar
      perf: Build libtraceevent.a · d0e7b850
      Steven Rostedt authored
      Have building perf also build libtraceevent.a. Currently, perf does
      not use the code within libtraceevent.a, but it soon will.
      Signed-off-by: default avatarSteven 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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      d0e7b850
    • Steven Rostedt's avatar
      tools/events: Add files to create libtraceevent.a · f7d82350
      Steven Rostedt authored
      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: default avatarSteven 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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      f7d82350
    • Steven Rostedt's avatar
      perf: Separate out trace-cmd parse-events from perf files · 4ace73ee
      Steven Rostedt authored
      Move the trace-event-parse.c code that originally came from trace-cmd into
      their own files. The new file will be called trace-parse-events.c, as
      the name of trace-cmd's file was parse-events.c too, but it conflicted
      with the parse-events.c file in perf that parses the command line.
      
      This tries to update the code with mimimal changes.
      
      Perf specific code stays in the trace-event-parse.[ch] files and
      the common parsing code is now in trace-parse-events.c and
      trace-parse-events.h.
      Signed-off-by: default avatarSteven 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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      4ace73ee
    • Ingo Molnar's avatar
      Merge tag 'v3.4-rc4' into perf/core · 3dbe927b
      Ingo Molnar authored
      Merge v3.4-rc4 - we were on -rc2 before.
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      3dbe927b
  2. 21 Apr, 2012 23 commits
  3. 20 Apr, 2012 12 commits