perf tools: Remove needless builtin.h include directives
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Sep 2019 12:47:53 +0000 (09:47 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Sep 2019 12:19:20 +0000 (09:19 -0300)
Now that builtin.h isn't included by any other header, we can check
where it is really needed, i.e. we can remove it and be sure that it
isn't being obtained indirectly.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-mn7jheex85iw9qo6tlv26hb2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/numa.c
tools/perf/bench/sched-messaging.c
tools/perf/bench/sched-pipe.c
tools/perf/util/jitdump.c

index 62b8ef4bcb1f18ced6e6515ad678680bbe667a82..5797253b970056023cd69a7f37e474ceca89d312 100644 (file)
@@ -9,7 +9,6 @@
 /* For the CLR_() macros */
 #include <pthread.h>
 
-#include "../builtin.h"
 #include <subcmd/parse-options.h>
 #include "../util/cloexec.h"
 
index c63eb9a46346a2204284155b64079bf7a70cdf12..6e499b32bf001b8b017b89a497b3a01e8559bc4e 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "../util/util.h"
 #include <subcmd/parse-options.h>
-#include "../builtin.h"
 #include "bench.h"
 
 /* Test groups of 20 processes spraying to 20 receivers */
index 35b07f197d485b49c6f025d958f6daa804f6f6a3..edd40aafa3182f2da501d8465e1096cda089e02e 100644 (file)
@@ -11,7 +11,6 @@
  */
 #include "../util/util.h"
 #include <subcmd/parse-options.h>
-#include "../builtin.h"
 #include "bench.h"
 
 #include <unistd.h>
index b80f29bfc7bb2b1070e85dc01ad0c7b4d386e79a..00db9957fdb090ae3b4aa1b948b8324bf6ccc2df 100644 (file)
@@ -27,7 +27,6 @@
 #include "jit.h"
 #include "jitdump.h"
 #include "genelf.h"
-#include "../builtin.h"
 
 #include <linux/ctype.h>
 #include <linux/zalloc.h>