pub type breakpoint_type_provider_interface_t = breakpoint_type_provider_interface;

Aliased Type§

struct breakpoint_type_provider_interface_t {
    pub register_bp: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> u64>,
    pub add_bp: Option<unsafe extern "C" fn(_: *mut conf_object, _: i32, _: attr_value) -> u64>,
    pub remove_bp: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64)>,
    pub trace_msg: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *const i8>,
    pub break_msg: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *const i8>,
    pub wait_msg: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *const i8>,
    pub break_data: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> attr_value>,
    pub values: Option<unsafe extern "C" fn(_: *mut conf_object, _: *const i8, _: attr_value) -> attr_value>,
    pub trace: Option<unsafe extern "C" fn(_: *mut conf_object, _: *const i8)>,
}

Fields§

§register_bp: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> u64>

Register breakpoint in manager. Return breakpoint manager ID, or 0 on error.

§add_bp: Option<unsafe extern "C" fn(_: *mut conf_object, _: i32, _: attr_value) -> u64>

Add breakpoint and return provider specific ID, or 0 on error.

§remove_bp: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64)>

Remove breakpoint, given ID returned by add_bp.

§trace_msg: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *const i8>

Return trace message, given ID returned by add_bp.

§break_msg: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *const i8>

Message returned by break command, given ID returned by add_bp.

§wait_msg: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *const i8>

Script branch wait message, given ID returned by add_bp.

§break_data: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> attr_value>

Optional return value from wait-for and run-until commands, given ID returned by add_bp.

§values: Option<unsafe extern "C" fn(_: *mut conf_object, _: *const i8, _: attr_value) -> attr_value>

Return possible values for command argument. Optional unless expanders used.

§trace: Option<unsafe extern "C" fn(_: *mut conf_object, _: *const i8)>

Optional trace output function. The default is to log on the provider with level 1 and group 0.