perf env: Remove unneeded internal/cpumap inclusions
Subsystems (2)
Ian Rogers
reviewerPATCH 1/1 perf env: Remove unneeded internal/cpumap inclusions
Minor cleanup.
Signed-off-by Ian Rogers <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Quoted 3 lines · Ian Rogers
Minor cleanup.
Signed-off-by Ian Rogers <[email protected]>
Acked-by Jiri Olsa <[email protected]>
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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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
Em Fri, Feb 12, 2021 at 09:33:45AM +0100, Jiri Olsa escreveu:
Quoted 6 lines · Ian Rogers
Quoted 3 lines
Minor cleanup.
Signed-off-by Ian Rogers <[email protected]>Acked-by Jiri Olsa <[email protected]>
Thanks, applied.
- Arnaldo
Quoted 127 lines
thanks,
jirkaQuoted 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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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@@ -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