Skip to contentSkip to conversation

perf stat: Remove duplicated include in stat-shadow.c

PATCH Applied Yang Li 2 participants 2 messages Jul 23, 2025 – Jul 25, 2025 perf events

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 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.

---
 tools/perf/util/stat-shadow.c | 1 -
 1 file changed, 1 deletion(-)
tools/perf/util/stat-shadow.c +0 -1
index 2b4950f56fae..abaf6b579bfc 100644
@@ -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;
Signature · 1 line
2.43.5
maintainer Applied
#1 lore raw
Quoted 4 lines · Yang Li

The header files rblist.h is included twice in stat-shadow.c, so one inclusion of each can be removed.

Applied to perf-tools-next, thanks!

Best regards,
Namhyung