* [PATCH] perf stat: Remove duplicated include in stat-shadow.c
@ 2025-07-23 7:04 Yang Li
2025-07-25 18:48 ` Namhyung Kim
0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2025-07-23 7:04 UTC (permalink / raw)
To: peterz, mingo, acme, linux-perf-users, linux-kernel
Cc: namhyung, Yang Li, Abaci Robot
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>
---
tools/perf/util/stat-shadow.c | 1 -
1 file changed, 1 deletion(-)
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;
--
2.43.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] perf stat: Remove duplicated include in stat-shadow.c
2025-07-23 7:04 [PATCH] perf stat: Remove duplicated include in stat-shadow.c Yang Li
@ 2025-07-25 18:48 ` Namhyung Kim
0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2025-07-25 18:48 UTC (permalink / raw)
To: peterz, mingo, acme, linux-perf-users, linux-kernel, Yang Li; +Cc: Abaci Robot
On Wed, 23 Jul 2025 15:04:18 +0800, Yang Li wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-25 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-23 7:04 [PATCH] perf stat: Remove duplicated include in stat-shadow.c Yang Li
2025-07-25 18:48 ` Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®