LTTNG-SCHEDLOG(1)

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

πŸ’– NAME πŸ’–

lttng-schedlog β€” LTTng analyses Scheduler log. bestie this is the sched one, the scheduler log reader, and she is thriving ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk, here's how you call her:

lttng-schedlog [-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>

The sched command. that's the whole vibe, that's what she does πŸ’…

πŸŽ€ positional arguments πŸŽ€

  • <path/to/trace> β€” the trace path, aka where your data lives, bestie. point her at it and she'll do the rest 🫢

✨ optional arguments ✨

  • -h, --help β€” show this help message and exit. classic, iconic, never fails you πŸ’–
  • -r REFRESH, --refresh REFRESH β€” Refresh period, with an optional units suffix (default units: s) ⏰
  • --gmt β€” Manipulate timestamps based on GMT instead of local time. timezone girlies rise 🌍
  • --skip-validation β€” Skip the trace validation. living dangerously, we respect it πŸ™ˆ
  • --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, she will not go 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 πŸͺž
  • --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 the LTTNG_ANALYSES_DEBUG environment variable) πŸ›
  • --no-color β€” Disable colored output. sad beige mode, no thank u πŸŽ€
  • --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)

ngl the flag list is long but she's just thorough, ok? not a red flag, it's a green one 🌈

LTTng Analyses v0.6.0, January 2017 β€” mwah, love that for her, periodt πŸ’œβœ¨

πŸ“¦ where this page comes from