LTTNG-SCHEDFREQ-MI(1)
π LTTNG-SCHEDFREQ-MI(1) π
ok so bestie, welcome to the lttng-schedfreq-mi manual page β that's from section 1 of the manuals, the User Commands girlies π
. This is the LTTng analyses Scheduler frequency machine interface and she is iconic and also kind of a lot. Buckle up π
β¨ NAME β¨
lttng-schedfreq-mi β LTTng analyses Scheduler frequency machine interface π¦
πΈ DESCRIPTION πΈ
okay so here's the vibe. Usage goes like this:
lttng-schedfreq-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>
It's the sched command. periodt. π
π§ positional arguments
<path/to/trace>β literally just the trace path bestie, that's where your trace lives π«Ά
π optional arguments
-h,--helpβ shows this help message and then dips, exit stage left β¨-r REFRESH,--refresh REFRESHβ the refresh period, and you can tack an optional units suffix on it (default units:s) β±οΈ--gmtβ manipulate timestamps based on GMT instead of local time π--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 (heads up: this one requires--period-begin, no skipping π )--period-begin-key PERIOD_BEGIN_KEYβ optional, a list of event field names used to match period markers (default:cpu_id)--period-end-key PERIOD_END_KEYβ optional, a list of event field names used to match period marker. If none specified, it just uses the same--period-begin-keyπͺ--period-key-value PERIOD_KEY_VALUEβ optional, defines a fixed key value that a period must correspond to in order 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β shows the program's version number and exits, bye π--debugβ enable debug mode (or you can set theLTTNG_ANALYSES_DEBUGenvironment variable instead, your call bestie) π--no-colorβ disable colored output π (devastating 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 π--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 π--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)
no cap: if you're mixing--per-tidand--per-prio, just remember--per-tidis the default, so if you say nothing, that's the one you get π
and that's the whole page bestie, you ate it up π this was LTTng Analyses v0.6.0, dated January 2017 β slay, mwah, go analyze some sched switches πβ¨
π¦ 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