summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-09-10 08:55:22 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-09-11 09:35:27 -0300
commite37b315c17df21c3906e4798b3531c5b6d1da489 (patch)
treec736a0c09c17eeed7524e68893895a30799ce1f2 /tools
parent02b2705017d2e5ad32c23067d4b44477ec20b637 (diff)
downloadlinux-stable-e37b315c17df21c3906e4798b3531c5b6d1da489.tar.gz
linux-stable-e37b315c17df21c3906e4798b3531c5b6d1da489.tar.bz2
linux-stable-e37b315c17df21c3906e4798b3531c5b6d1da489.zip
perf parse-events: Remove duplicated include in parse-events.c
The header files parse-events.h is included twice in parse-events.c, so one inclusion of each can be removed. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: James Clark <james.clark@linaro.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10822 Link: https://lore.kernel.org/r/20240910005522.35994-1-yang.lee@linux.alibaba.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/tests/parse-events.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c
index 639e65a9bf61..e228511c85a5 100644
--- a/tools/perf/tests/parse-events.c
+++ b/tools/perf/tests/parse-events.c
@@ -5,7 +5,6 @@
#include <api/fs/fs.h>
#include "tests.h"
#include "debug.h"
-#include "parse-events.h"
#include "pmu.h"
#include "pmus.h"
#include <dirent.h>