Closed RiverOnVenus closed 2 years ago
Hi @RiverOnVenus
Could you please attach the .config
Sorry, I just forgot to attach my kernel config file. config.zip
@hamadmarri
I just found out that this error only occurs when I use both the patch-5.15.2-rt19.patch
and the tt-5.15-r2.patch
. No problems with TT on its own。
patch-5.15.2-rt19.zip
Could you please try this fix:
diff --git a/kernel/sched/tt_stats.h b/kernel/sched/tt_stats.h
index 7aa1e8936be4..c12f60830791 100644
--- a/kernel/sched/tt_stats.h
+++ b/kernel/sched/tt_stats.h
@@ -791,10 +791,7 @@ static inline void check_schedstat_required(void)
trace_sched_stat_iowait_enabled() ||
trace_sched_stat_blocked_enabled() ||
trace_sched_stat_runtime_enabled()) {
- printk_deferred_once("Scheduler tracepoints stat_sleep, stat_iowait, "
- "stat_blocked and stat_runtime require the "
- "kernel parameter schedstats=enable or "
- "kernel.sched_schedstats=1\n");
+ printk_once("Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enable or kernel.sched_schedstats=1\n");
}
#endif
}
@RiverOnVenus
I have updated the rt.patch too https://github.com/hamadmarri/TT-CPU-Scheduler/blob/04d6c8dcb2f6688621e49f458bb4451a00f43e27/patches/5.15/rt/rt.patch
@hamadmarri
I'm a bit late in replying, it's working, thank you.
Hi, Hamad. When I compiled with the latest patch
tt-5.15-r2
I encountered the following error.I see it on line 5313 of the latest commit.