Skip to content

Commit 3e9b26d

Browse files
seehearfeelacmel
authored andcommitted
perf tools: Remove some duplicated includes
There exists some duplicated includes in tools/perf, remove them. Signed-off-by: Tiezhu Yang <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: xuefeng li <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 0affd0e commit 3e9b26d

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

tools/perf/builtin-report.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#include "util/time-utils.h"
4848
#include "util/auxtrace.h"
4949
#include "util/units.h"
50-
#include "util/branch.h"
5150
#include "util/util.h" // perf_tip()
5251
#include "ui/ui.h"
5352
#include "ui/progress.h"

tools/perf/util/annotate.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#include <linux/bitops.h>
4242
#include <linux/kernel.h>
4343
#include <linux/string.h>
44-
#include <bpf/libbpf.h>
4544
#include <subcmd/parse-options.h>
4645
#include <subcmd/run-command.h>
4746

tools/perf/util/auxtrace.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
#include "util/mmap.h"
5656

5757
#include <linux/ctype.h>
58-
#include <linux/kernel.h>
5958
#include "symbol/kallsyms.h"
6059
#include <internal/lib.h>
6160

tools/perf/util/config.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "build-id.h"
2222
#include "debug.h"
2323
#include "config.h"
24-
#include "debug.h"
2524
#include <sys/types.h>
2625
#include <sys/stat.h>
2726
#include <stdlib.h>

tools/perf/util/session.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include "../perf.h"
3434
#include "arch/common.h"
3535
#include <internal/lib.h>
36-
#include <linux/err.h>
3736

3837
#ifdef HAVE_ZSTD_SUPPORT
3938
static int perf_session__process_compressed_event(struct perf_session *session,

0 commit comments

Comments
 (0)