LTTNG-PERIODTOP-MI(1)
π lttng-periodtop-mi β LTTng analyses period top machine interface π
okay bestie, sit down, hydrate, because we're talking about lttng-periodtop-mi, a whole User Command from the LTTng Analyses crew (v0.6.0 era, January 2017, vintage β¨). it's the machine interface version of the period top situation, and she is thriving. π
π NAME π
lttng-periodtop-mi β LTTng analyses period top machine interface π¦
β¨ DESCRIPTION β¨
so like. the vibe here? it's the periods command. that's the whole thing, that's the energy. here's exactly how you invoke her:
usage: lttng-periodtop-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] [--freq]
[--freq-resolution FREQ_RESOLUTION] [--freq-uniform]
[--freq-series] [--limit LIMIT] [--top] [--log] [--stats]
[--min-duration MIN_DURATION] [--max-duration MAX_DURATION]
[--aggregate-by AGGREGATE_BY] [--select SELECT] [--group-by
GROUP_BY] [--order-by ORDER_BY] <path/to/trace>
lowkey a lot of flags. highkey worth it. π
π«Ά positional arguments (the required main character)
<path/to/trace>β literally the trace path. that's it, that's the whole job. π
π optional arguments (the glow-up section)
-h,--helpβ shows this help message and dips out. iconic behavior. β¨-r REFRESH,--refresh REFRESHβ refresh period, and you may tack on a units suffix (default units:s). β°--gmtβ do all the timestamp math based on GMT instead of local time. timezone queen π--skip-validationβ skip the trace validation. just rawdogging it, no cap. π--begin BEGINβ start time, formatted likehh:mm:ss[.nnnnnnnnn]. π--end ENDβ end time, alsohh: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 bestie, this one requires--period-begin). π--period-begin-key PERIOD_BEGIN_KEYβ optional! it's a 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 you don't specify any, it just uses the same--period-begin-key. matching sets π«Ά--period-key-value PERIOD_KEY_VALUEβ optional! define a fixed key value that a period must correspond to in order to be considered. picky but in a cute way π--cpu CPUβ filter the results only for this list of CPU IDs. π»--timerange TIMERANGEβ time range, written as[begin,end]. π--progress-use-sizeβ use trace size to approximate progress. big brain move π§--no-intersectionβ disable stream intersection mode. crossing streams? not today π-V,--versionβ show the program's version number and exit. βοΈ--debugβ enable debug mode (or, alternatively, set theLTTNG_ANALYSES_DEBUGenvironment variable). π--no-colorβ disable colored output. monochrome moment π€--no-progressβ don't display the progress bar. we're going in blind, bestie π--min MINβ filter out durations shorter than min usec. βοΈ--max MAXβ filter out durations longer than max usec. βοΈ--freqβ output statistics about periods durations. π--freq-resolution FREQ_RESOLUTIONβ frequency distribution resolution (default20). π--freq-uniformβ use a uniform resolution across distributions. matchy matchy π--freq-seriesβ consolidate the frequency distribution histogram as a single one. one histogram to rule them all π--limit LIMITβ limit to top X (default =10). top ten, we love a countdown π--topβ output the top sched switch durations. π₯--logβ output the sched switches in chronological order. timeline slay π--statsβ output sched switch statistics. numbers numbers numbers π’--min-duration MIN_DURATIONβ filter out, periods shorter that duration (usec). π«§--max-duration MAX_DURATIONβ filter out, periods longer than duration (usec). π«§--aggregate-by AGGREGATE_BYβFIXME. yeah. FIXME. the devs left a little note for themselves and honestly? relatable. π--select SELECTβFIXME. also a mystery box. π¦--group-by GROUP_BYβ present the results grouped by a list of fields, written asperiod.captured_field[, period.captured_field2]. grouping is self care πΈ--order-by ORDER_BYβhierarchy, time. that's the ordering options, periodt. π
β οΈ real talk:--period-endgenuinely requires--period-begin. and if you skip--period-end-key, it silently borrows--period-begin-key. not me warning you twice π
and that's the whole page, bestie!! this gorgeous thing is brought to you by LTTng Analyses v0.6.0, dated January 2017 β yeah she's an elder but she ATE. go trace something and stan. πβ¨π¦π
π¦ 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