NDL-FILTER(1)
π NDL-FILTER, bestie π
okay so we're doing the ndl filter command today and honestly? it's giving β¨ data glow-up β¨. this is the NDL manual, and i'm gonna walk you through it like we're texting at 2am. no cap, every single flag is staying in here. π
πΈ COMMAND ndl filter πΈ
usage: ndl filter [-h] [-q] [-d]
[--exclude EXCLUDE] [--include INCLUDE]
[--exclude-metrics MEXCLUDE]
[--include-metrics MINCLUDE]
[--human-readable] [-o OUTDIR]
[--list-metrics] [--reportid REPORTID]
respath
so basically, filter datapoints out of a test result β you're yeeting CSV rows and whole metrics based on whatever criteria you feel like. ποΈβ¨ the criteria comes from the row and metric filter and selector options (--include, --exclude-metrics, etc.). and bestie, you can pass those options multiple times. go off. π
respath
the ndl test result path you wanna filter. that's it, that's the vibe. π¦
β¨ OPTIONS ndl filter β¨
-hβ show this help message and dip. bye! π-qβ be quiet. shhh. π€«-dβ print debugging information. the tea β, the receipts, all of it.--exclude EXCLUDEβ datapoints to exclude: nuke every datapoint that satisfies the expressionEXCLUDE. here's an example expression, look at her:
(WakeLatency < 10000) | (PC6% < 1)
this filter expression will remove all datapoints with WakeLatency smaller than 10000 nanoseconds or package C6 residency smaller than 1%. iconic behaviour. π the detailed expression syntax lives in the documentation for the eval() function of Python's pandas module β go read that, iykyk. you can use metrics in the expression, or the special word index for the row number (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. so index is lowkey the main character here. π
--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 ate that fr fr. π₯--exclude-metrics MEXCLUDEβ the metrics to exclude. expects a comma-separated list of the metrics, or python style regular expressions matching the names. for example, the expressionSilentTime,WarmupDelay,.*Cycwould remove metricsSilentTime,WarmupDelayand all metrics withCycin their name. sneaky little regex, we love her. π§ use--list-metricsto get the list of the available metrics.--include-metrics MINCLUDEβ the metrics to include: remove all metrics except for the ones specified by this option. the syntax is the same as for--exclude-metrics. twinning! π--human-readableβ by default the resultfiltercommand prints the result as a CSV file to the standard output. this option can be used to dump the result in a more human-readable form. so when raw CSV is giving robot, this is giving person. π-o OUTDIR,--outdir OUTDIRβ by default the resulting CSV lines are printed to the standard output. but this option can be used to specify the output directly to store the result at. this will create a filtered version of the input test result. a whole new you, but make it data. π¦β¨--list-metricsβ print the list of the available metrics and exit. window shopping for metrics, obsessed. ποΈ--reportid REPORTIDβ report ID of the filtered version of the result (can only be used with--outdir). so don't try to be cute and use it alone, bestie β it needs its--outdirpartner. π
π«Ά friendly reminder: options may be specified multiple times, and--reportidis strictly a--outdir-only situation. stack responsibly. π
NDL() β dated 2024-03-08 β that's the source, the version, the whole timestamp moment. mwah. π periodt. πΈ
π¦ 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