LTTNG-PERIODFREQ-MI(1)
π LTTNG-PERIODFREQ-MI(1) π
okay bestie, sit down, hydrate, and let me tell you about lttng-periodfreq-mi β the LTTng analyses period frequency machine interface π. this is the section-1 user command situation and she is ready to read your trace files. β¨
πΈ NAME πΈ
lttng-periodfreq-mi β LTTng analyses period frequency machine interface. that's it, that's the whole identity. iconic behavior only. π
π¦ DESCRIPTION π¦
here's the whole vibe, literally the usage line, no cap:
usage: lttng-periodfreq-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>
the periods command. π«Ά that's the whole personality of this program tbh.
π positional arguments: π
<path/to/trace>β the trace path. it's giving "point me at the receipts" energy. π
π optional arguments: π
-h,--helpβ show this help message and exit. the classic "help me help you" moment, she ate. π-r REFRESH,--refresh REFRESHβ refresh period, with an optional units suffix (default units:s). so like, seconds unless you say otherwise. β±οΈ--gmtβ manipulate timestamps based on GMT instead of local time. timezone check, passed. π--skip-validationβ skip the trace validation. just trust me bro energy, use with care. π--begin BEGINβ start time:hh:mm:ss[.nnnnnnnnn]. yes, nanosecond precision, she's that detailed. β¨--end ENDβ end time:hh:mm:ss[.nnnnnnnnn]. same format, opposite end of the timeline. π--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). β οΈ no cap: if you don't give her a--period-begin, this one's just standing there alone.--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. she reuses, she's sustainable. β»οΈ--period-key-value PERIOD_KEY_VALUEβ optional, define a fixed key value to which a period must correspond to be considered. picky in a good way. π--cpu CPUβ filter the results only for this list of CPU IDs. per-core girly. π§--timerange TIMERANGEβ time range:[begin,end].--progress-use-sizeβ use trace size to approximate progress. math but make it approximate. π₯--no-intersectionβ disable stream intersection mode. π«-V,--versionβ show program's version number and exit. the "who even am I" flag. π«--debugβ enable debug mode (or setLTTNG_ANALYSES_DEBUGenvironment variable). yesss, spill the tea, environment variable edition. π--no-colorβ disable colored output. sad beige output for sad beige terminals, respect. π₯²--no-progressβ don't display the progress bar. no little moving thing, just vibes. β¨--min MINβ filter out durations shorter than min usec. tiny durations, begone. π--max MAXβ filter out durations longer than max usec. long durations, also begone. π--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 frequency distribution histogram as a single one. one histogram to rule them all. π--limit LIMITβ limit to top X (default =10). only the main characters make the cut. π--topβ output the top sched switch durations. leaderboard time. π--logβ output the sched switches in chronological order. storyline, in order, no flashbacks. π--statsβ output sched switch statistics. numbers, but make them cute. π’β¨--min-duration MIN_DURATIONβ filter out, periods shorter that duration (usec). (yes bestie, the original really does say "shorter that" β we keep it exactly, no editing the queen's grammar π)--max-duration MAX_DURATIONβ filter out, periods longer than duration (usec).--aggregate-by AGGREGATE_BYβFIXME. yeah. she saidFIXME. not me documenting the documentation π--select SELECTβFIXME. same energy. π--group-by GROUP_BYβ present the results grouped by a list of fields (period.captured_field[, period.captured_field2]). group chat but for fields. π«Ά--order-by ORDER_BYβhierarchy,time. pick your sort, pick your destiny. β
π«§ quick reminder bestie: the usage block above is literally the program's own text, so copy-paste it, don't retype it. typos in flags = tears. π
and that's the whole page, fr fr. this was LTTng Analyses v0.6.0, dated January 2017, and yeah β the header says LTTNG-PERIODFREQ-MI(1) up top and the footer says LTTNG-PERIODFREQ-MI(1) down bottom, like a little matching set. π stay hydrated, validate your traces (or don't, --skip-validation exists), and slay. πβ¨
π¦ 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