LTTNG-SCHEDFREQ(1)

๐Ÿ“ฆ version 0.6.1, in debian bookworm, ubuntu jammy

โœจ NAME โœจ

lttng-schedfreq โ€” LTTng analyses Scheduler frequency ๐Ÿ’…

(that's the manual page lttng-schedfreq(1), bestie, section 1, User Commands โ€” we're doing this ๐Ÿซถ)


๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so. here's the whole vibe of what you type:

usage: lttng-schedfreq [-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 it, that's the whole energy. ๐Ÿ”ฅ


๐ŸŽ€ positional arguments

  • <path/to/trace> โ€” the trace path, babe. point it at ur trace and let her cook โœจ

๐Ÿ’– optional arguments

  • -h, --help โ€” show this help message and exit ๐Ÿซถ (the classic "what do I even type" button)
  • -r REFRESH, --refresh REFRESH โ€” Refresh period, with optional units suffix (default units: s) โฑ๏ธ
  • --gmt โ€” Manipulate timestamps based on GMT instead of local time ๐ŸŒ
  • --skip-validation โ€” Skip the trace validation ๐Ÿ™ˆ (living dangerously, we love that for u)
  • --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) ๐Ÿ
  • --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 LTTNG_ANALYSES_DEBUG environment variable) ๐Ÿ›
  • --no-color โ€” Disable colored output ๐ŸŽจ (sad, 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) ๐ŸŽš๏ธ
ok bestie real talk: --period-end needs --period-begin to come along, and --period-end-key will just borrow --period-begin-key if u don't hand it one. that's not me being extra, that's literally what the page says ๐Ÿ’€

and that's the whole page, periodt ๐Ÿ’…

this lil love letter came to u from LTTng Analyses v0.6.0, dated January 2017 โ€” and yeah, LTTNG-SCHEDFREQ(1) is the header at the top, LTTng Analyses v0.6.0 January 2017 LTTNG-SCHEDFREQ(1) is the footer at the bottom, and u just read the middle. iconic. go analyze some sched switches, bestie ๐Ÿฆ‹โœจ๐Ÿ’–

๐Ÿ“ฆ where this page comes from