LTTNG-SCHEDSTATS-MI(1)
π NAME π
lttng-schedstats-mi β bestie, it's the LTTng analyses Scheduler statistics machine interface. iykyk. π
β¨ DESCRIPTION β¨
okay so literally what this does: you feed it a trace, and it gives you the scheduler tea. here's the whole vibe, usage style:
lttng-schedstats-mi [-h] [-r REFRESH] [--gmt] [--skip-validation]
[--begin BEGIN] [--end END] [--period PERIOD]
[--period-captures PERIOD_CAPTURES] [--period-begin PERIOD_BEGIN]
[--period-end PERIOD_END] [--period-begin-key PERIOD_BEGIN_KEY]
[--period-end-key PERIOD_END_KEY] [--period-key-value
PERIOD_KEY_VALUE] [--cpu CPU] [--timerange TIMERANGE]
[--progress-use-size] [--no-intersection] [-V] [--debug]
[--no-color] [--no-progress] [--min MIN] [--max MAX] [--procname
PROCNAME] [--tid TID] [--freq] [--freq-resolution
FREQ_RESOLUTION] [--freq-uniform] [--freq-series] [--limit LIMIT]
[--top] [--log] [--stats] [--total] [--per-tid] [--per-prio]
<path/to/trace>
and the whole point of it? The sched command. that's it, that's the mission. π«Ά
π¦ positional arguments π¦
<path/to/trace>β the trace path, bestie. hand over the trace and let's go. π
πΈ optional arguments πΈ
-h,--helpβ show this help message and exit. classic, iconic, always there for you.-r REFRESH,--refresh REFRESHβ refresh period, with an optional units suffix (default units:s). no cap.--gmtβ manipulate timestamps based on GMT instead of local time. timezone moment. π--skip-validationβ skip the trace validation. living dangerously, love that for you.--begin BEGINβ start time:hh:mm:ss[.nnnnnnnnn]--end ENDβ end time:hh:mm:ss[.nnnnnnnnn]--period PERIODβ period definition.--period-captures PERIOD_CAPTURESβ period captures definition.--period-begin PERIOD_BEGINβ analysis period start marker event name.--period-end PERIOD_ENDβ analysis period end marker event name (requires--period-begin). yes it needs its partner, they're a package deal. π«Ά--period-begin-key PERIOD_BEGIN_KEYβ optional, list of event field names used to match period markers (default:cpu_id).--period-end-key PERIOD_END_KEYβ optional, list of event field names used to match period marker. if none specified, use the same--period-begin-key. it just copies its bestie's notes fr fr.--period-key-value PERIOD_KEY_VALUEβ optional, define a fixed key value to which a period must correspond to be considered.--cpu CPUβ filter the results only for this list of CPU IDs.--timerange TIMERANGEβ time range:[begin,end]--progress-use-sizeβ use trace size to approximate progress.--no-intersectionβ disable stream intersection mode.-V,--versionβ show program's version number and exit.--debugβ enable debug mode (or setLTTNG_ANALYSES_DEBUGenvironment variable). spill the tea, program.--no-colorβ disable colored output. (sad, honestly. but valid.)--no-progressβ don't display the progress bar.--min MINβ filter out durations shorter than min usec.--max MAXβ filter out durations longer than max usec.--procname PROCNAMEβ filter the results only for this list of process names.--tid TIDβ filter the results only for this list of TIDs.--freqβ output the frequency distribution of sched switch latencies. obsessed. π--freq-resolution FREQ_RESOLUTIONβ frequency distribution resolution (default20).--freq-uniformβ use a uniform resolution across distributions.--freq-seriesβ consolidate frequency distribution histogram as a single one.--limit LIMITβ limit to top X (default =10).--topβ output the top sched switch latencies. main character energy only. π--logβ output the sched switches in chronological order.--statsβ output sched switch statistics.--totalβ group all results (applies to stats and freq).--per-tidβ group results per-TID (applies to stats and freq) (default).--per-prioβ group results per-prio (applies to stats and freq).
that's the whole page bestie, every flag accounted for, nothing skipped, no crumbs left. π
LTTng Analyses v0.6.0 β January 2017 β LTTNG-SCHEDSTATS-MI(1) πβ¨π¦ that's a wrap, periodt. π
π¦ where this page comes from
- debian bookworm: python3-lttnganalyses 0.6.1-3 Β· MIT
- ubuntu jammy: python3-lttnganalyses 0.6.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms