with one click
check-trace
Analyze the JIT dispatch trace to diagnose boot stalls or crashes
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Analyze the JIT dispatch trace to diagnose boot stalls or crashes
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Check that aarch64 JIT interpreter functions match generic CPU behavior
Analyze jitc.log to find JIT compilation issues — fragment gaps, branch overflow, bad codegen
Analyze a kernel Oops from the printk buffer in a PearPC memory dump
Compare memory regions between generic and JIT memory dumps to find divergences
Extract and display the Linux kernel printk ring buffer from a PearPC memory dump
| name | check-trace |
| description | Analyze the JIT dispatch trace to diagnose boot stalls or crashes |
| allowed-tools | Bash, Read, Grep |
| argument-hint | ["pattern-or-address"] |
Analyze jitc_trace.log for the pattern or address $ARGUMENTS.
If no argument, check the tail of the trace to diagnose what the CPU is doing.
Check trace tail (last 30 lines):
tail -30 jitc_trace.log
Identify the pattern:
Count exception dispatches:
grep -c 'pa=00000300' jitc_trace.log # DSI count
grep -c 'pa=00000900' jitc_trace.log # DEC count
grep -c 'pa=00000c00' jitc_trace.log # SC count
If argument is a hex address, search for dispatches to/from that address:
grep 'pa=ADDRESS\|ea=ADDRESS' jitc_trace.log | head -20
Check DEC timer status:
grep '\[DEC\]' BOOT_LOG | tail -5
Check WATCH events:
grep '\[WATCH\]' BOOT_LOG | tail -10
DISPATCH ea=EFFECTIVE_ADDR pa=PHYSICAL_ADDR msr=MSR_VALUE
SEQ_NUM pc=PA msr=MSR cr=CR lr=LR ctr=CTR r0=R0 r1=SP r2=R2 r3=R3 r4=R4 r5=R5 dec=DEC
ea = effective (virtual) address the kernel seespa = physical address after translationdec = decrementer register value (should change over time)r1 = stack pointer (0xC01Cxxxx for idle thread, 0xC04Dxxxx for init thread)