Struct libbpf_rs::query::ProgInfoQueryOptions
source · 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 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