Skip to content

Commit

Permalink
perf tools: Remove needless libtraceevent include directives
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnaldo Carvalho de Melo committed Aug 29, 2019
1 parent df55279 commit 108a1bb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tools/perf/builtin-timechart.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include <errno.h>
#include <inttypes.h>
#include <traceevent/event-parse.h>

#include "builtin.h"
#include "util/color.h"
Expand Down
1 change: 0 additions & 1 deletion tools/perf/util/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion tools/perf/util/trace-event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 108a1bb

Please sign in to comment.