LTTNG-SCHEDFREQ-MI(1)

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

πŸ’– 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 the LTTNG_ANALYSES_DEBUG environment 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 (default 20)
  • --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-tid and --per-prio, just remember --per-tid is 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