pub trait ShellBackend {
Show 13 methods
// Required methods
fn kernel_info(&self) -> KernelInfo;
fn memory_stats(&self) -> MemoryStats;
fn task_list(&self) -> Vec<TaskInfo>;
fn cpu_info(&self) -> Vec<CpuInfo>;
fn queue_stats(&self) -> QueueStats;
fn vector_stats(&self) -> VectorStats;
fn proof_stats(&self) -> ProofStats;
fn capability_entries(&self, task_id: Option<u32>) -> Vec<CapEntry>;
fn witness_entries(&self, count: usize) -> Vec<WitnessEntry>;
fn perf_counters(&self) -> PerfCounters;
fn trace_enabled(&self) -> bool;
fn set_trace(&mut self, enabled: bool);
fn reboot(&mut self);
}Expand description
Trait for kernel integration with the debug shell.
Implementors provide access to kernel state for each command.
Required Methods§
Sourcefn kernel_info(&self) -> KernelInfo
fn kernel_info(&self) -> KernelInfo
Get kernel information.
Sourcefn memory_stats(&self) -> MemoryStats
fn memory_stats(&self) -> MemoryStats
Get memory statistics.
Sourcefn queue_stats(&self) -> QueueStats
fn queue_stats(&self) -> QueueStats
Get queue statistics.
Sourcefn vector_stats(&self) -> VectorStats
fn vector_stats(&self) -> VectorStats
Get vector store statistics.
Sourcefn proof_stats(&self) -> ProofStats
fn proof_stats(&self) -> ProofStats
Get proof subsystem statistics.
Sourcefn capability_entries(&self, task_id: Option<u32>) -> Vec<CapEntry>
fn capability_entries(&self, task_id: Option<u32>) -> Vec<CapEntry>
Get capability table entries for a task.
Sourcefn witness_entries(&self, count: usize) -> Vec<WitnessEntry>
fn witness_entries(&self, count: usize) -> Vec<WitnessEntry>
Get recent witness log entries.
Sourcefn perf_counters(&self) -> PerfCounters
fn perf_counters(&self) -> PerfCounters
Get performance counters.
Sourcefn trace_enabled(&self) -> bool
fn trace_enabled(&self) -> bool
Check if syscall tracing is enabled.