WULT-FILTER(1)
π WULT-FILTER π
okay bestie so this is the manual page for wult filter, from the WULT manual, and it's dated 2024-03-08 in case you were wondering when we last touched grass (we did not, we were filtering datapoints π«Ά).
β¨ COMMAND wult filter β¨
here's the whole vibe in one block, no cap:
usage: wult filter [-h] [-q] [-d] [--exclude EXCLUDE] [--include
INCLUDE] [--exclude-metrics MEXCLUDE] [--include-metrics MINCLUDE]
[--human-readable] [-o OUTDIR] [--list-metrics] [--reportid REPORTID]
respath
so like, this command filters datapoints out of a test result β it straight-up deletes CSV rows and metrics based on whatever criteria you give it. π
the criteria? you tell it using the row filter and metric filter/selector options (--include, --exclude-metrics, etc). and the way that you can pass those options multiple times? iconic. obsessed.
respathβ the path to thewulttest result you wanna filter. that's it, that's the whole argument. πΈ
π OPTIONS wult filter π
one bullet per option, we do not skip, we do not play:
-hβ show this help message and then dip. bye bestie. π-qβ be quiet. shhh. π€«-dβ print debugging information. it's giving verbose main character energy. π--exclude EXCLUDEβ datapoints to exclude: nuke every datapoint that satisfies the expressionEXCLUDE. here's a whole example of an expression:
(WakeLatency < 10000) | (PC6% < 1)
this filter expression will remove all datapoints with WakeLatency smaller than 10000 nanoseconds or package C6 residency smaller than 1%. periodt. the detailed expression syntax lives in the documentation for the eval() function of the Python pandas module β go read that, iykyk. you can use metrics in the expression, or the special word index for the row number (that's the 0-based index) of a datapoint in the results. for example, the expression index >= 10 will get rid of all datapoints except for the first 10 ones. slay. π₯
--include INCLUDEβ datapoints to include: remove all datapoints except the ones satisfying the expressionINCLUDE. in other words, this option is literally the inverse of--exclude. which means--include expris the same as--exclude "not (expr)". math is math. π--exclude-metrics MEXCLUDEβ the metrics to exclude. it expects a comma-separated list of metrics, or python-style regular expressions that match the names. for example, the expressionSilentTime,WarmupDelay,.*Cycwould remove metricsSilentTime,WarmupDelay, and all metrics withCycin their name. use--list-metricsto get the list of available metrics (yes, we're linking you to another option, we're helpful like that π).--include-metrics MINCLUDEβ the metrics to include: remove all metrics except the ones specified by this option. the syntax is the exact same as for--exclude-metrics. twin behavior, fr fr. β¨--human-readableβ by default the resultfiltercommand prints the result as a CSV file to the standard output. this option lets you dump the result in a more human-readable form instead, because sometimes CSV is giving robot and we need giving readable. π-o OUTDIR,--outdir OUTDIRβ by default the resulting CSV lines get printed to the standard output. but this option lets you specify the output directory to store the result at. this will create a filtered version of the input test result. cute, right? π¦--list-metricsβ print the list of the available metrics and exit. that's the whole job. π--reportid REPORTIDβ report ID of the filtered version of the result. β οΈ heads up bestie: this can only be used with--outdir. no--outdir, no--reportid, that's the rule.
π¨ reminder to my favorite person: options like--exclude,--include,--exclude-metricsand--include-metricscan be given multiple times, so don't hold back. also--reportidgenuinely only works alongside--outdirβ no exceptions, no vibes-based loopholes. π
and that's the whole page, bestie! π from the WULT manual, FILTER, dated 2024-03-08. go filter something and feel like the main character, because you are. π
β¨π«Ά
π¦ where this page comes from
- fedora 43: wult 1.12.48-2.fc43 Β· BSD-3-Clause AND GPL-2.0-only
- fedora 44: wult 1.12.48-2.fc44 Β· BSD-3-Clause AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms