LTTNG-SCHEDLOG-MI(1)
π NAME π
okay so bestie, meet lttng-schedlog-mi β the LTTng analyses Scheduler log machine interface. that's the whole vibe. it's a user command, it lives in section 1 of the manual (you know, the LTTNG-SCHEDLOG-MI(1) one π
), and it is here to make your scheduler logs make sense. periodt.
β¨ DESCRIPTION β¨
here's the whole thing, exactly how you'd type it:
usage: lttng-schedlog-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>
The sched command. that's it, that's the whole summary. iconic.
π POSITIONAL ARGUMENTS π
<path/to/trace>β the path to your trace. like, where the tea actually lives. give it the trace path and she'll do the rest π«Ά
π OPTIONAL ARGUMENTS π
okay this is the long part bestie, but every single one of these matters, no skipping:
-h,--helpβ shows this help message and then dips. bye π-r REFRESH,--refresh REFRESHβ the refresh period, and you can tack a units suffix on it if you want (default unit:s).--gmtβ manipulate timestamps based on GMT instead of local time. timezone shift, but make it intentional π--skip-validationβ skip the trace validation. living dangerously, we respect it.--begin BEGINβ start time, formatted ashh:mm:ss[.nnnnnnnnn].--end ENDβ end time, same format:hh:mm:ss[.nnnnnnnnn].--period PERIODβ Period definition.--period-captures PERIOD_CAPTURESβ Period captures definition.--period-begin PERIOD_BEGINβ the analysis period start marker event name.--period-end PERIOD_ENDβ the analysis period end marker event name (heads up: this one requires--period-begin, they're a package deal π).--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 markers. if you don't specify any, it just uses the same as--period-begin-key.--period-key-value PERIOD_KEY_VALUEβ optional, define a fixed key value that a period has to correspond to in order to even be considered. picky, but in a slay way.--cpu CPUβ filter the results down to only this list of CPU IDs.--timerange TIMERANGEβ time range, written as[begin,end].--progress-use-sizeβ use trace size to approximate progress.--no-intersectionβ disable stream intersection mode.-V,--versionβ show the program's version number and exit. quick lil flex.--debugβ enable debug mode (or, alternatively, set theLTTNG_ANALYSES_DEBUGenvironment variable).--no-colorβ disable colored output. (sad, but sometimes you gotta.)--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 the frequency distribution histogram into a single one.--limit LIMITβ limit to top X (default =10).--topβ output the top sched switch latencies. main character behaviour honestly.--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) (this is the default, so it's already doing this unless you say otherwise).--per-prioβ group results per-prio (applies to stats and freq).
π reminder bestie:--period-endwill not work without--period-begin. don't come for me when it yells at you.
that's the whole page, no cap. this was LTTng Analyses v0.6.0, dated January 2017 β go forth and read your scheduler logs like the icon you are πβ¨π
π¦ 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