audit_priority_inversions
Detect unbounded QNX priority inversions by analyzing .kev traces for high-priority SCHED_FIFO threads blocked in STATE_REPLY or STATE_MUTEX while unboosted servers are preempted.
Instructions
Detect unbounded priority inversions where high-priority SCHED_FIFO threads block in STATE_REPLY or STATE_MUTEX while medium-priority threads preempt unboosted servers (_NTO_CHF_FIXED_PRIORITY or missing PTHREAD_PRIO_INHERIT).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_priority_inversions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kevBase64 | No | Base64-encoded binary QNX .kev trace buffer (QNXKEV80). | |
| tracePath | No | Path to a .trace / .json / .kev file, or built-in fixture name (adas_ipc_deadlock, ventilator_prio_inversion, industrial_ethercat_jitter, healthy_baseline). | |
| minHighPrio | No | Minimum QNX priority threshold for high-priority RT threads (default: 50). | |
| traceContent | No | Raw QNX traceprinter text log or qnx-trace-v1 JSON string. |