LTTNG-SCHEDSTATS-MI(1)

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

πŸŽ€ NAME πŸŽ€

lttng-schedstats-mi β€” bestie, it's the LTTng analyses Scheduler statistics machine interface. iykyk. πŸ’–


✨ DESCRIPTION ✨

okay so literally what this does: you feed it a trace, and it gives you the scheduler tea. here's the whole vibe, usage style:

lttng-schedstats-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>

and the whole point of it? The sched command. that's it, that's the mission. 🫢


πŸ¦‹ positional arguments πŸ¦‹

  • <path/to/trace> β€” the trace path, bestie. hand over the trace and let's go. πŸ’…

🌸 optional arguments 🌸

  • -h, --help β€” show this help message and exit. classic, iconic, always there for you.
  • -r REFRESH, --refresh REFRESH β€” refresh period, with an optional units suffix (default units: s). no cap.
  • --gmt β€” manipulate timestamps based on GMT instead of local time. timezone moment. 🌍
  • --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 (requires --period-begin). yes it needs its partner, they're a package deal. 🫢
  • --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. it just copies its bestie's notes fr fr.
  • --period-key-value PERIOD_KEY_VALUE β€” optional, define a fixed key value to which a period must correspond 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 β€” show program's version number and exit.
  • --debug β€” enable debug mode (or set LTTNG_ANALYSES_DEBUG environment variable). spill the tea, program.
  • --no-color β€” disable colored output. (sad, honestly. 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. obsessed. πŸ“Š
  • --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. main character energy only. πŸ‘‘
  • --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).

that's the whole page bestie, every flag accounted for, nothing skipped, no crumbs left. πŸ’œ

LTTng Analyses v0.6.0 β€” January 2017 β€” LTTNG-SCHEDSTATS-MI(1) πŸŽ€βœ¨πŸ¦‹ that's a wrap, periodt. πŸ’…

πŸ“¦ where this page comes from