]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
perf perf: Remove duplicate includes
authorPravin Shedge <pravin.shedge4linux@gmail.com>
Wed, 6 Dec 2017 17:43:24 +0000 (23:13 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Dec 2017 15:15:49 +0000 (12:15 -0300)
These duplicate includes have been found with scripts/checkincludes.pl
but they have been removed manually to avoid removing false positives.

Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1512582204-6493-1-git-send-email-pravin.shedge4linux@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/futex-hash.c
tools/perf/builtin-c2c.c
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/tests/parse-events.c
tools/perf/util/auxtrace.c
tools/perf/util/header.c
tools/perf/util/metricgroup.c
tools/perf/util/scripting-engines/trace-event-python.c

index 2defb6df7fd03e470bee8578772359286ca72807..9aa3a674829b3360763c02df194f46a25e31a29b 100644 (file)
@@ -27,7 +27,6 @@
 #include "cpumap.h"
 
 #include <err.h>
-#include <sys/time.h>
 
 static unsigned int nthreads = 0;
 static unsigned int nsecs    = 10;
index f1da9b0833c077fde4d78c1d6528caee1847c820..c0debc3f79b6e25efbd01176b72c84caa0ff7cfd 100644 (file)
 #include "sort.h"
 #include "tool.h"
 #include "data.h"
-#include "sort.h"
 #include "event.h"
 #include "evlist.h"
 #include "evsel.h"
-#include <asm/bug.h>
 #include "ui/browsers/hists.h"
-#include "evlist.h"
 #include "thread.h"
 
 struct c2c_hists {
index 0a5749ef8b94c3c04a5fd01083afa69e16534b26..98da8cb8de936a067c06e8bc7ca715a2af7a0b79 100644 (file)
@@ -51,7 +51,6 @@
 #include <signal.h>
 #include <sys/mman.h>
 #include <sys/wait.h>
-#include <asm/bug.h>
 #include <linux/time64.h>
 
 struct switch_output {
index 58d501d1f5fd9d8fc8d1a17cb8c379bcc4761c17..98bf9d32f2222247bf2b39d98dab62d9cafe1770 100644 (file)
@@ -63,7 +63,6 @@
 #include "util/group.h"
 #include "util/session.h"
 #include "util/tool.h"
-#include "util/group.h"
 #include "util/string2.h"
 #include "util/metricgroup.h"
 #include "asm/bug.h"
index f0679613bd1878210163308426cd67f0b8ab181a..18b06444f230d6563de86a571fac2f86bf4af0b8 100644 (file)
@@ -13,7 +13,6 @@
 #include <unistd.h>
 #include <linux/kernel.h>
 #include <linux/hw_breakpoint.h>
-#include <api/fs/fs.h>
 #include <api/fs/tracing_path.h>
 
 #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \
index a33491416400ed85b8814f2a134d59eeaf6b528c..c76687e4234439440a8b4a674b6e4a49fc20a7a0 100644 (file)
@@ -31,9 +31,6 @@
 #include <sys/param.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
-#include <limits.h>
-#include <errno.h>
 #include <linux/list.h>
 
 #include "../perf.h"
index 5890e08e075439182c0471a65fa20994a19446a2..ca73aa7be70820c4dd153af375a64a35080121b2 100644 (file)
@@ -15,9 +15,7 @@
 #include <linux/bitops.h>
 #include <linux/stringify.h>
 #include <sys/stat.h>
-#include <sys/types.h>
 #include <sys/utsname.h>
-#include <unistd.h>
 
 #include "evlist.h"
 #include "evsel.h"
index e48410c99b396326e94e14d3ffdcd77bb4c4b35e..1ddc3d1d0147e7e86dccbf4d522076b602c0c157 100644 (file)
 #include "pmu.h"
 #include "expr.h"
 #include "rblist.h"
-#include "pmu.h"
 #include <string.h>
 #include <stdbool.h>
 #include <errno.h>
 #include "pmu-events/pmu-events.h"
-#include "strbuf.h"
 #include "strlist.h"
 #include <assert.h>
 #include <ctype.h>
index c7187f067d3140ab0d0c378160fa3c732a7f3e21..c1848b543f27259aa249bf06d59f93390aa3c939 100644 (file)
@@ -43,7 +43,6 @@
 #include "../db-export.h"
 #include "../thread-stack.h"
 #include "../trace-event.h"
-#include "../machine.h"
 #include "../call-path.h"
 #include "thread_map.h"
 #include "cpumap.h"