aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/trace-seq.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-04-05 18:47:55 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2012-04-25 07:12:26 -0400
commit668fe01f1cea2154da479dd12946eeb53413396e (patch)
treea3c4f8bc431c61fde7a136d88c45538893bff829 /tools/lib/traceevent/trace-seq.c
parentd0e7b850b7d45ff86868e7df4eb1f3cdd283f776 (diff)
events: Update tools/lib/traceevent to work with perf
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: 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>
Diffstat (limited to 'tools/lib/traceevent/trace-seq.c')
-rw-r--r--tools/lib/traceevent/trace-seq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/traceevent/trace-seq.c b/tools/lib/traceevent/trace-seq.c
index d2f265b48cde..b1ccc923e8a5 100644
--- a/tools/lib/traceevent/trace-seq.c
+++ b/tools/lib/traceevent/trace-seq.c
@@ -24,6 +24,7 @@
24#include <stdarg.h> 24#include <stdarg.h>
25 25
26#include "event-parse.h" 26#include "event-parse.h"
27#include "event-utils.h"
27 28
28/* 29/*
29 * The TRACE_SEQ_POISON is to catch the use of using 30 * The TRACE_SEQ_POISON is to catch the use of using