Skip to content

Commit

Permalink
perf tools: Remove some duplicated includes
Browse files Browse the repository at this point in the history
There exists some duplicated includes in tools/perf, remove them.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: xuefeng li <lixuefeng@loongson.cn>
Link: http://lore.kernel.org/lkml/1591071304-19338-2-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Tiezhu Yang authored and Arnaldo Carvalho de Melo committed Jun 2, 2020
1 parent 0affd0e commit 3e9b26d
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
@@ -47,7 +47,6 @@
#include "util/time-utils.h"
#include "util/auxtrace.h"
#include "util/units.h"
#include "util/branch.h"
#include "util/util.h" // perf_tip()
#include "ui/ui.h"
#include "ui/progress.h"
1 change: 0 additions & 1 deletion tools/perf/util/annotate.c
Original file line number Diff line number Diff line change
@@ -41,7 +41,6 @@
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <bpf/libbpf.h>
#include <subcmd/parse-options.h>
#include <subcmd/run-command.h>

1 change: 0 additions & 1 deletion tools/perf/util/auxtrace.c
Original file line number Diff line number Diff line change
@@ -55,7 +55,6 @@
#include "util/mmap.h"

#include <linux/ctype.h>
#include <linux/kernel.h>
#include "symbol/kallsyms.h"
#include <internal/lib.h>

1 change: 0 additions & 1 deletion tools/perf/util/config.c
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
#include "build-id.h"
#include "debug.h"
#include "config.h"
#include "debug.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
1 change: 0 additions & 1 deletion tools/perf/util/session.c
Original file line number Diff line number Diff line change
@@ -33,7 +33,6 @@
#include "../perf.h"
#include "arch/common.h"
#include <internal/lib.h>
#include <linux/err.h>

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

0 comments on commit 3e9b26d

Please sign in to comment.