LTTNG-PERIODTOP-MI(1)

πŸ“¦ version 0.6.1, in debian bookworm, ubuntu jammy

πŸ’– 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 like hh:mm:ss[.nnnnnnnnn]. πŸ•
  • --end END β€” end time, also 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 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 the LTTNG_ANALYSES_DEBUG environment 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 (default 20). πŸ”
  • --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 as period.captured_field[, period.captured_field2]. grouping is self care 🌸
  • --order-by ORDER_BY β€” hierarchy, time. that's the ordering options, periodt. πŸ“š

⚠️ real talk: --period-end genuinely 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