Struct kernel::process::ProcessStandardDebugFull

source ·
pub struct ProcessStandardDebugFull { /* private fields */ }
Expand description

A debugging implementation for ProcessStandard that records the full debugging state.

Trait Implementations§

source§

impl Default for ProcessStandardDebugFull

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl ProcessStandardDebug for ProcessStandardDebugFull

source§

fn set_fixed_address_flash(&self, address: u32)

Record the address in flash the process expects to start at.
source§

fn get_fixed_address_flash(&self) -> Option<u32>

Get the address in flash the process expects to start at, if it was recorded.
source§

fn set_fixed_address_ram(&self, address: u32)

Record the address in RAM the process expects to start at.
source§

fn get_fixed_address_ram(&self) -> Option<u32>

Get the address in RAM the process expects to start at, if it was recorded.
source§

fn set_app_heap_start_pointer(&self, ptr: *const u8)

Record the address where the process placed its heap.
source§

fn get_app_heap_start_pointer(&self) -> Option<*const u8>

Get the address where the process placed its heap, if it was recorded.
source§

fn set_app_stack_start_pointer(&self, ptr: *const u8)

Record the address where the process placed its stack.
source§

fn get_app_stack_start_pointer(&self) -> Option<*const u8>

Get the address where the process placed its stack, if it was recorded.
source§

fn set_app_stack_min_pointer(&self, ptr: *const u8)

Update the lowest address that the process’s stack has reached.
source§

fn get_app_stack_min_pointer(&self) -> Option<*const u8>

Get the lowest address of the process’s stack , if it was recorded.
source§

fn set_new_app_stack_min_pointer(&self, ptr: *const u8)

Provide the current address of the bottom of the stack and record the address if it is the lowest address that the process’s stack has reached.
source§

fn set_last_syscall(&self, syscall: Syscall)

Record the most recent system call the process called.
source§

fn get_last_syscall(&self) -> Option<Syscall>

Get the most recent system call the process called, if it was recorded.
source§

fn reset_last_syscall(&self)

Clear any record of the most recent system call the process called.
source§

fn increment_syscall_count(&self)

Increase the recorded count of the number of system calls the process has called.
source§

fn get_syscall_count(&self) -> usize

Get the recorded count of the number of system calls the process has called. Read more
source§

fn reset_syscall_count(&self)

Reset the recorded count of the number of system calls called by the app to 0.
source§

fn increment_dropped_upcall_count(&self)

Increase the recorded count of the number of upcalls that have been dropped for the process.
source§

fn get_dropped_upcall_count(&self) -> usize

Get the recorded count of the number of upcalls that have been dropped for the process. Read more
source§

fn reset_dropped_upcall_count(&self)

Reset the recorded count of the number of upcalls that have been dropped for the process to 0.
source§

fn increment_timeslice_expiration_count(&self)

Increase the recorded count of the number of times the process has exceeded its timeslice.
source§

fn get_timeslice_expiration_count(&self) -> usize

Get the recorded count of the number times the process has exceeded its timeslice. Read more
source§

fn reset_timeslice_expiration_count(&self)

Reset the recorded count of the number of the process has exceeded its timeslice to 0.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.