Skip to contentSkip to conversation

perf tools: Remove needless builtin.h include directives

tip: perf/urgent tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Sep 20, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

The following commit has been merged into the perf/urgent branch of tip:

Commit-ID:     8fcbeae44fde9756036147664d1e74fab7c9902c
Gitweb:        https://git.kernel.org/tip/8fcbeae44fde9756036147664d1e74fab7c9902c
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Tue, 03 Sep 2019 09:47:53 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Fri, 20 Sep 2019 09:19:20 -03:00

perf tools: Remove needless builtin.h include directives

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.

---
 tools/perf/bench/numa.c            | 1 -
 tools/perf/bench/sched-messaging.c | 1 -
 tools/perf/bench/sched-pipe.c      | 1 -
 tools/perf/util/jitdump.c          | 1 -
 4 files changed, 4 deletions(-)
tools/perf/bench/numa.c +0 -1
index 62b8ef4..5797253 100644
@@ -9,7 +9,6 @@
 /* For the CLR_() macros */
 #include <pthread.h>
 
-#include "../builtin.h"
 #include <subcmd/parse-options.h>
 #include "../util/cloexec.h"
 
tools/perf/bench/sched-messaging.c +0 -1
index c63eb9a..6e499b3 100644
@@ -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 */
tools/perf/bench/sched-pipe.c +0 -1
index 35b07f1..edd40aa 100644
@@ -11,7 +11,6 @@
  */
 #include "../util/util.h"
 #include <subcmd/parse-options.h>
-#include "../builtin.h"
 #include "bench.h"
 
 #include <unistd.h>
tools/perf/util/jitdump.c +0 -1
index b80f29b..00db995 100644
@@ -27,7 +27,6 @@
 #include "jit.h"
 #include "jitdump.h"
 #include "genelf.h"
-#include "../builtin.h"
 
 #include <linux/ctype.h>
 #include <linux/zalloc.h>