pub struct RecordOpts {
pub output: PathBuf,
pub file: Option<PathBuf>,
pub timeout: u64,
pub ldlat: u32,
pub hints_map: Option<PathBuf>,
pub hints_map_ring_sz: u32,
pub disable_archive: bool,
pub enable_perf_script: bool,
pub disable_sched_trace: bool,
pub disable_mem_trace: bool,
}Fields§
§output: PathBufOutput directory for recording
file: Option<PathBuf>Output archive path for the recording
timeout: u64Recording duration in seconds
ldlat: u32Load latency threshold in cycles
hints_map: Option<PathBuf>Path to the SCX scheduler’s task hint map
hints_map_ring_sz: u32Size of the hints ring buffer in MB
disable_archive: boolDisable creating a tar.gz archive after recording
enable_perf_script: boolGenerate perf.mem.script and perf.sched.script during recording
disable_sched_trace: boolDisable recording sched/irq trace events into perf.sched.data
disable_mem_trace: boolDisable recording perf mem trace into perf.mem.data
Trait Implementations§
Source§impl Args for RecordOpts
impl Args for RecordOpts
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl CommandFactory for RecordOpts
impl CommandFactory for RecordOpts
Source§impl Debug for RecordOpts
impl Debug for RecordOpts
Source§impl FromArgMatches for RecordOpts
impl FromArgMatches for RecordOpts
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for RecordOpts
impl Parser for RecordOpts
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl Freeze for RecordOpts
impl RefUnwindSafe for RecordOpts
impl Send for RecordOpts
impl Sync for RecordOpts
impl Unpin for RecordOpts
impl UnsafeUnpin for RecordOpts
impl UnwindSafe for RecordOpts
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