aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2025-07-23 15:04:18 +0800
committerNamhyung Kim <namhyung@kernel.org>2025-07-23 10:48:29 -0700
commitdb12d7ec6bdfdac39850198cc97a797b2c4dcda6 (patch)
tree97271fe544ecd763dc51567f5256c97918f89467
parentperf ui scripts: Switch FILENAME_MAX to NAME_MAX (diff)
downloadlinux-db12d7ec6bdfdac39850198cc97a797b2c4dcda6.tar.gz
linux-db12d7ec6bdfdac39850198cc97a797b2c4dcda6.zip
perf stat: Remove duplicated include in stat-shadow.c
The header files rblist.h is included twice in stat-shadow.c, so one inclusion of each can be removed. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22933 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20250723070418.2195172-1-yang.lee@linux.alibaba.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
-rw-r--r--tools/perf/util/stat-shadow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/stat-shadow.c b/tools/perf/util/stat-shadow.c
index 2b4950f56fae..abaf6b579bfc 100644
--- a/tools/perf/util/stat-shadow.c
+++ b/tools/perf/util/stat-shadow.c
@@ -15,7 +15,6 @@
#include <linux/zalloc.h>
#include "iostat.h"
#include "util/hashmap.h"
-#include "rblist.h"
#include "tool_pmu.h"
struct stats walltime_nsecs_stats;