Add TOTK_CORE_DIAG: classify every virtual core wait by what the owner was doing, and answer SVC 0x36

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-10-25 23:23:48 +03:00
1 parent f63db636d4
commit d52cdfc6ee
6 files changed
+308 -4

No files matched your search

+1
View File
@@ -409,6 +409,7 @@ void perf_present(uint64_t frame) {
if (rt_trace & RT_TRACE_SCHED) kern_sched_report(frame);
uint64_t now = kern_now_ns(), d = last ? now - last : 0;
ft_frame(frame, now, d); // d is 0 on the first present: it only starts the period
kern_core_diag_frame(frame, d);
if (flight_on) flight_frame(frame, now, d, frame_ns, counts);
if (!(rt_trace & RT_TRACE_PERF)) {
memset(frame_ns, 0, sizeof frame_ns);