LTTNG-IRQSTATS-MI(1)
β¨ NAME β¨
lttng-irqstats-mi β LTTng analyses IRQ statistics machine interface π¦
okay so real talk, this is the machine interface (MI) version of the IRQ stats tool β it's the one your scripts and your other programs talk to, and it's lowkey iconic for it. periodt.
πΈ DESCRIPTION πΈ
the way this thing works is you hand it a trace and it gives you the IRQ tea back. here's the usage, exactly as the tool spits it out, no cap:
usage: lttng-irqstats-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] [--log] [--stats] [--irq IRQ] [--softirq SOFTIRQ]
<path/to/trace>
The irq command. that's the vibe. that's what it is. π«Ά
π positional arguments π
<path/to/trace>β the trace path, bestie. that's where your trace lives and this tool is literally obsessed with it. π
π optional arguments π
-h,--helpβ shows this help message and then dips out. classic. β¨-r REFRESH,--refresh REFRESHβ the refresh period, and yes you can slap a units suffix on it if you want (default units:s). so like, seconds unless you say otherwise. π--gmtβ manipulates timestamps based on GMT instead of local time. timezone queen behavior. π--skip-validationβ skips the trace validation. bold move, but ok. π--begin BEGINβ start time, in the formathh:mm:ss[.nnnnnnnnn]. those nanoseconds are optional, not me being extra for no reason.--end ENDβ end time, same format: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, and heads up: this one requires--period-begin. they're a package deal, fr fr. π«Ά--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, it uses the same--period-begin-key. matching outfits, cute. π--period-key-value PERIOD_KEY_VALUEβ Optional, define a fixed key value to which a period must correspond to be considered. picky in a very valid way.--cpu CPUβ Filter the results only for this list of CPU IDs. only the CPUs you care about get to be in the group chat. π--timerange TIMERANGEβ time range, and it's written like[begin,end]. square brackets, bestie, don't forget them.--progress-use-sizeβ use trace size to approximate progress. big trace energy. π--no-intersectionβ disable stream intersection mode. turning it off, respectfully. π«-V,--versionβ shows the program's version number and exits. slay, now you know. β--debugβ Enable debug mode (or set theLTTNG_ANALYSES_DEBUGenvironment variable). two ways to get the same lore.--no-colorβ disable colored output. for when you want it plain, no sparkle. π--no-progressβ don't display the progress bar. it's not doing a little dance for you today. π«--min MINβ filters out durations shorter than min usec. short king erasure, honestly. π--max MAXβ filters out durations longer than max usec. bye to the long ones too. π--freqβ Output the frequency distribution of handler durations. charts, but make it IRQ. π--freq-resolution FREQ_RESOLUTIONβ Frequency distribution resolution (default20). you can tune the zoom level. π--freq-uniformβ Use a uniform resolution across distributions. consistency is the moment. β¨--freq-seriesβ Consolidate frequency distribution histogram as a single one. all the histograms holding hands. π«Ά--logβ Output the IRQs in chronological order. timeline behavior, very main character. π°οΈ--statsβ Output IRQ statistics. the numbers, the data, the whole vibe. π₯--irq IRQβ Output results only for the list of IRQ. only the ones you asked for, no extras. π--softirq SOFTIRQβ Output results only for the list of SoftIRQ. soft but make it specific. πΈ
and that's the whole page, bestie β every flag, every default, every environment variable, nothing skipped, nothing invented, no cap π
this gorgeous little manual is from LTTng Analyses v0.6.0, dated January 2017 β shoutout to the legends who wrote it, and shoutout to you for reading all the way to the bottom. you ate. ππβ¨
π¦ where this page comes from
- debian bookworm: python3-lttnganalyses 0.6.1-3 Β· MIT
- ubuntu jammy: python3-lttnganalyses 0.6.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms