summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-09-10 02:55:22 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-09-11 14:35:27 +0200
commite37b315c17df21c3906e4798b3531c5b6d1da489 (patch)
treec736a0c09c17eeed7524e68893895a30799ce1f2 /tools/perf
parentperf callchain: Allow symbols to be optional when resolving a callchain (diff)
downloadlinux-e37b315c17df21c3906e4798b3531c5b6d1da489.tar.xz
linux-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/perf')
-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>