Skip to contentSkip to conversation

perf env: Remove unneeded internal/cpumap inclusions

PATCH Applied Ian Rogers 3 participants 3 messages Feb 11, 2021 – Feb 12, 2021

Subsystems (2)
lore
Share & tools
lore

Ian Rogers

author reviewer
#0 lore raw

PATCH 1/1 perf env: Remove unneeded internal/cpumap inclusions

Minor cleanup.

---
 tools/perf/bench/epoll-ctl.c               | 1 -
 tools/perf/bench/epoll-wait.c              | 1 -
 tools/perf/bench/futex-hash.c              | 1 -
 tools/perf/bench/futex-lock-pi.c           | 1 -
 tools/perf/bench/futex-requeue.c           | 1 -
 tools/perf/bench/futex-wake-parallel.c     | 1 -
 tools/perf/bench/futex-wake.c              | 1 -
 tools/perf/tests/openat-syscall-all-cpus.c | 1 -
 tools/perf/util/synthetic-events.c         | 1 -
 9 files changed, 9 deletions(-)
tools/perf/bench/epoll-ctl.c +0 -1
index ca2d591aad8a..ddaca75c3bc0 100644
@@ -21,7 +21,6 @@
 #include <sys/resource.h>
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/epoll-wait.c +0 -1
index 75dca9773186..0a0ff1247c83 100644
@@ -76,7 +76,6 @@
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
 #include <sys/types.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/futex-hash.c +0 -1
index 915bf3da7ce2..b65373ce5c4f 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
 #include <sys/time.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/futex-lock-pi.c +0 -1
index bb25d8beb3b8..89c6d160379c 100644
@@ -14,7 +14,6 @@
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/bench/futex-requeue.c +0 -1
index 7a15c2e61022..5fa23295ee5f 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/time64.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/bench/futex-wake-parallel.c +0 -1
index cd2b81a845ac..6e6f5247e1fe 100644
@@ -29,7 +29,6 @@ int bench_futex_wake_parallel(int argc __maybe_unused, const char **argv __maybe
 #include <linux/time64.h>
 #include <errno.h>
 #include "futex.h"
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include <err.h>
tools/perf/bench/futex-wake.c +0 -1
index 2dfcef3e371e..6d217868f53c 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/time64.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/tests/openat-syscall-all-cpus.c +0 -1
index 71f85e2cc127..f7dd6c463f04 100644
@@ -15,7 +15,6 @@
 #include "tests.h"
 #include "thread_map.h"
 #include <perf/cpumap.h>
-#include <internal/cpumap.h>
 #include "debug.h"
 #include "stat.h"
 #include "util/counts.h"
tools/perf/util/synthetic-events.c +0 -1
index c6f9db3faf83..0b767233ae1f 100644
@@ -24,7 +24,6 @@
 #include <linux/perf_event.h>
 #include <asm/bug.h>
 #include <perf/evsel.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include <internal/lib.h> // page_size
 #include <internal/threadmap.h>
Signature · 1 line
2.30.0.478.g8a0d178c01-goog
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Ian Rogers

Minor cleanup.

thanks,
jirka

Quoted 123 lines
---
 tools/perf/bench/epoll-ctl.c               | 1 -
 tools/perf/bench/epoll-wait.c              | 1 -
 tools/perf/bench/futex-hash.c              | 1 -
 tools/perf/bench/futex-lock-pi.c           | 1 -
 tools/perf/bench/futex-requeue.c           | 1 -
 tools/perf/bench/futex-wake-parallel.c     | 1 -
 tools/perf/bench/futex-wake.c              | 1 -
 tools/perf/tests/openat-syscall-all-cpus.c | 1 -
 tools/perf/util/synthetic-events.c         | 1 -
 9 files changed, 9 deletions(-)
tools/perf/bench/epoll-ctl.c +0 -1
index ca2d591aad8a..ddaca75c3bc0 100644
@@ -21,7 +21,6 @@
 #include <sys/resource.h>
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/epoll-wait.c +0 -1
index 75dca9773186..0a0ff1247c83 100644
@@ -76,7 +76,6 @@
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
 #include <sys/types.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/futex-hash.c +0 -1
index 915bf3da7ce2..b65373ce5c4f 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
 #include <sys/time.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/futex-lock-pi.c +0 -1
index bb25d8beb3b8..89c6d160379c 100644
@@ -14,7 +14,6 @@
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/bench/futex-requeue.c +0 -1
index 7a15c2e61022..5fa23295ee5f 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/time64.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/bench/futex-wake-parallel.c +0 -1
index cd2b81a845ac..6e6f5247e1fe 100644
@@ -29,7 +29,6 @@ int bench_futex_wake_parallel(int argc __maybe_unused, const char **argv __maybe
 #include <linux/time64.h>
 #include <errno.h>
 #include "futex.h"
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include <err.h>
tools/perf/bench/futex-wake.c +0 -1
index 2dfcef3e371e..6d217868f53c 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/time64.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/tests/openat-syscall-all-cpus.c +0 -1
index 71f85e2cc127..f7dd6c463f04 100644
@@ -15,7 +15,6 @@
 #include "tests.h"
 #include "thread_map.h"
 #include <perf/cpumap.h>
-#include <internal/cpumap.h>
 #include "debug.h"
 #include "stat.h"
 #include "util/counts.h"
tools/perf/util/synthetic-events.c +0 -1
index c6f9db3faf83..0b767233ae1f 100644
@@ -24,7 +24,6 @@
 #include <linux/perf_event.h>
 #include <asm/bug.h>
 #include <perf/evsel.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include <internal/lib.h> // page_size
 #include <internal/threadmap.h>
Signature · 1 line
2.30.0.478.g8a0d178c01-goog
maintainer Applied
#2 lore raw

Em Fri, Feb 12, 2021 at 09:33:45AM +0100, Jiri Olsa escreveu:

Quoted 6 lines · Ian Rogers
Quoted 3 lines

Minor cleanup.

Thanks, applied.

- Arnaldo

Quoted 127 lines

thanks,
jirka

Quoted 123 lines
---
 tools/perf/bench/epoll-ctl.c               | 1 -
 tools/perf/bench/epoll-wait.c              | 1 -
 tools/perf/bench/futex-hash.c              | 1 -
 tools/perf/bench/futex-lock-pi.c           | 1 -
 tools/perf/bench/futex-requeue.c           | 1 -
 tools/perf/bench/futex-wake-parallel.c     | 1 -
 tools/perf/bench/futex-wake.c              | 1 -
 tools/perf/tests/openat-syscall-all-cpus.c | 1 -
 tools/perf/util/synthetic-events.c         | 1 -
 9 files changed, 9 deletions(-)
tools/perf/bench/epoll-ctl.c +0 -1
index ca2d591aad8a..ddaca75c3bc0 100644
@@ -21,7 +21,6 @@
 #include <sys/resource.h>
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/epoll-wait.c +0 -1
index 75dca9773186..0a0ff1247c83 100644
@@ -76,7 +76,6 @@
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
 #include <sys/types.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/futex-hash.c +0 -1
index 915bf3da7ce2..b65373ce5c4f 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
 #include <sys/time.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include "../util/stat.h"
tools/perf/bench/futex-lock-pi.c +0 -1
index bb25d8beb3b8..89c6d160379c 100644
@@ -14,7 +14,6 @@
 #include <linux/kernel.h>
 #include <linux/zalloc.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/bench/futex-requeue.c +0 -1
index 7a15c2e61022..5fa23295ee5f 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/time64.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/bench/futex-wake-parallel.c +0 -1
index cd2b81a845ac..6e6f5247e1fe 100644
@@ -29,7 +29,6 @@ int bench_futex_wake_parallel(int argc __maybe_unused, const char **argv __maybe
 #include <linux/time64.h>
 #include <errno.h>
 #include "futex.h"
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 
 #include <err.h>
tools/perf/bench/futex-wake.c +0 -1
index 2dfcef3e371e..6d217868f53c 100644
@@ -20,7 +20,6 @@
 #include <linux/kernel.h>
 #include <linux/time64.h>
 #include <errno.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include "bench.h"
 #include "futex.h"
tools/perf/tests/openat-syscall-all-cpus.c +0 -1
index 71f85e2cc127..f7dd6c463f04 100644
@@ -15,7 +15,6 @@
 #include "tests.h"
 #include "thread_map.h"
 #include <perf/cpumap.h>
-#include <internal/cpumap.h>
 #include "debug.h"
 #include "stat.h"
 #include "util/counts.h"
tools/perf/util/synthetic-events.c +0 -1
index c6f9db3faf83..0b767233ae1f 100644
@@ -24,7 +24,6 @@
 #include <linux/perf_event.h>
 #include <asm/bug.h>
 #include <perf/evsel.h>
-#include <internal/cpumap.h>
 #include <perf/cpumap.h>
 #include <internal/lib.h> // page_size
 #include <internal/threadmap.h>
Signature · 1 line
2.30.0.478.g8a0d178c01-goog
Signature · 1 line
- Arnaldo