summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-08-04 02:52:13 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-08-12 21:51:31 +0200
commit8d33834f9fb06b5349b145e6499aca976deed3d8 (patch)
treedad6f62f2c8448aad41b780551defc0ad1e39db0 /tools/perf
parentperf scripting python: Delete repeated word in comments (diff)
downloadlinux-8d33834f9fb06b5349b145e6499aca976deed3d8.tar.xz
linux-8d33834f9fb06b5349b145e6499aca976deed3d8.zip
perf stat: Remove duplicated include in builtin-stat.c
util/topdown.h is included twice in builtin-stat.c, remove one of them. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Tested-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1818 Link: https://lore.kernel.org/r/20220804005213.71990-1-yang.lee@linux.alibaba.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/builtin-stat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index 0d9fec377071..7fb81a44672d 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -71,7 +71,6 @@
#include "util/bpf_counter.h"
#include "util/iostat.h"
#include "util/pmu-hybrid.h"
- #include "util/topdown.h"
#include "asm/bug.h"
#include <linux/time64.h>