pub struct ProgInfoQueryOptions { /* private fields */ }
Expand description
Options to query the program info currently loaded
Implementations§
Source§impl ProgInfoQueryOptions
impl ProgInfoQueryOptions
Sourcepub fn include_xlated_prog_insns(self, v: bool) -> Self
pub fn include_xlated_prog_insns(self, v: bool) -> Self
Include the vector of jited bpf instructions in the result
Sourcepub fn include_jited_prog_insns(self, v: bool) -> Self
pub fn include_jited_prog_insns(self, v: bool) -> Self
Include the vector of jited instructions in the result
Sourcepub fn include_map_ids(self, v: bool) -> Self
pub fn include_map_ids(self, v: bool) -> Self
Include the ids of maps associated with the program
Sourcepub fn include_line_info(self, v: bool) -> Self
pub fn include_line_info(self, v: bool) -> Self
Include source line information corresponding to xlated code
Sourcepub fn include_func_info(self, v: bool) -> Self
pub fn include_func_info(self, v: bool) -> Self
Include function type information corresponding to xlated code
Sourcepub fn include_jited_line_info(self, v: bool) -> Self
pub fn include_jited_line_info(self, v: bool) -> Self
Include source line information corresponding to jited code
Sourcepub fn include_jited_func_lens(self, v: bool) -> Self
pub fn include_jited_func_lens(self, v: bool) -> Self
Include function type information corresponding to jited code
Include program tags
Sourcepub fn include_jited_ksyms(self, v: bool) -> Self
pub fn include_jited_ksyms(self, v: bool) -> Self
Include the jited kernel symbols
Sourcepub fn include_all(self) -> Self
pub fn include_all(self) -> Self
Include everything there is in the query results
Trait Implementations§
Source§impl Clone for ProgInfoQueryOptions
impl Clone for ProgInfoQueryOptions
Source§fn clone(&self) -> ProgInfoQueryOptions
fn clone(&self) -> ProgInfoQueryOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProgInfoQueryOptions
impl Debug for ProgInfoQueryOptions
Source§impl Default for ProgInfoQueryOptions
impl Default for ProgInfoQueryOptions
Source§fn default() -> ProgInfoQueryOptions
fn default() -> ProgInfoQueryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProgInfoQueryOptions
impl RefUnwindSafe for ProgInfoQueryOptions
impl Send for ProgInfoQueryOptions
impl Sync for ProgInfoQueryOptions
impl Unpin for ProgInfoQueryOptions
impl UnwindSafe for ProgInfoQueryOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)