perf tools: Remove needless libtraceevent include directives
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Aug 2019 16:00:28 +0000 (13:00 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Aug 2019 20:38:32 +0000 (17:38 -0300)
Remove traceevent/event-parse.h and traceevent/trace-seq.h from places
where it is not needed.

Should avoid rebuilding those files when these traceevent headers get
changed.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Link: https://lkml.kernel.org/n/tip-26hn75jn9rdealn4uqtzend6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-timechart.c
tools/perf/util/session.c
tools/perf/util/trace-event.h

index 1ff81a790931c9b37786bfece672d5a160374ada..1a74499f3311cbb2e26d55bdc9e574eb3f0b9135 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <errno.h>
 #include <inttypes.h>
-#include <traceevent/event-parse.h>
 
 #include "builtin.h"
 #include "util/color.h"
index 13486bcf74a0f0c86772956fce4bce5cffb40fd0..9eb843e5e6f02785c9d7ddeda3f3cba367a91abc 100644 (file)
@@ -4,7 +4,6 @@
 #include <linux/err.h>
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
-#include <traceevent/event-parse.h>
 #include <api/fs/fs.h>
 
 #include <byteswap.h>
index 258d79071d819a87cb69e2bfb4130d41ad8e60aa..2e158387b3d776cd1d1de974d2cae7e3260f0096 100644 (file)
@@ -3,7 +3,6 @@
 #define _PERF_UTIL_TRACE_EVENT_H
 
 #include <traceevent/event-parse.h>
-#include <traceevent/trace-seq.h>
 #include "parse-events.h"
 
 struct machine;