Skip to content

Commit 0ac25fd

Browse files
committed
perf tools: Remove perf.h from source files not needing it
With the movement of lots of stuff out of perf.h to other headers we ended up not needing it in lots of places, remove it from those places. 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-c718m0sxxwp73lp9d8vpihb4@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent c1a604d commit 0ac25fd

48 files changed

Lines changed: 0 additions & 51 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎tools/perf/arch/powerpc/util/perf_regs.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <regex.h>
55
#include <linux/zalloc.h>
66

7-
#include "../../perf.h"
87
#include "../../util/perf_regs.h"
98
#include "../../util/debug.h"
109

‎tools/perf/arch/x86/tests/intel-cqm.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include "tests/tests.h"
3-
#include "perf.h"
43
#include "cloexec.h"
54
#include "debug.h"
65
#include "evlist.h"

‎tools/perf/arch/x86/util/archinsn.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
#include "perf.h"
32
#include "archinsn.h"
43
#include "util/intel-pt-decoder/insn.h"
54
#include "machine.h"

‎tools/perf/arch/x86/util/tsc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <linux/stddef.h>
66
#include <linux/perf_event.h>
77

8-
#include "../../../perf.h"
98
#include <linux/types.h>
109
#include <asm/barrier.h>
1110
#include "../../../util/debug.h"

‎tools/perf/bench/numa.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/* For the CLR_() macros */
1010
#include <pthread.h>
1111

12-
#include "../perf.h"
1312
#include "../builtin.h"
1413
#include <subcmd/parse-options.h>
1514
#include "../util/cloexec.h"

‎tools/perf/bench/sched-messaging.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*
1111
*/
1212

13-
#include "../perf.h"
1413
#include "../util/util.h"
1514
#include <subcmd/parse-options.h>
1615
#include "../builtin.h"

‎tools/perf/bench/sched-pipe.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* http://people.redhat.com/mingo/cfs-scheduler/tools/pipe-test-1m.c
1010
* Ported to perf by Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
1111
*/
12-
#include "../perf.h"
1312
#include "../util/util.h"
1413
#include <subcmd/parse-options.h>
1514
#include "../builtin.h"

‎tools/perf/builtin-bench.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* futex ... Futex performance
1717
* epoll ... Event poll performance
1818
*/
19-
#include "perf.h"
2019
#include <subcmd/parse-options.h>
2120
#include "builtin.h"
2221
#include "bench/bench.h"

‎tools/perf/builtin-buildid-cache.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <errno.h>
1515
#include <unistd.h>
1616
#include "builtin.h"
17-
#include "perf.h"
1817
#include "namespaces.h"
1918
#include "util/cache.h"
2019
#include "util/debug.h"

‎tools/perf/builtin-buildid-list.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: GPL-2.0
21
/*
32
* builtin-buildid-list.c
43
*

0 commit comments

Comments
 (0)