diff options
| author | Paul Buetow <paul@buetow.org> | 2023-04-29 11:11:59 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-04-29 11:11:59 +0300 |
| commit | f9f5e0183b69e77bb388010e5ca1686c7cfd0930 (patch) | |
| tree | 4e059653c3be66f9bbcc2f5b819e49b3219cbc1f | |
| parent | 31a777d7f584e944f05ec799d3d176e1d230828b (diff) | |
by default, exclude Kernel, as it is too verbose
| -rw-r--r-- | guprecords.raku | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guprecords.raku b/guprecords.raku index a9a90fc..fb38c60 100644 --- a/guprecords.raku +++ b/guprecords.raku @@ -231,7 +231,7 @@ multi MAIN( multi MAIN( Str :$stats-dir is required, - Bool :$all, #= Generate all possible stats + Bool :$all, #= Generate all possible stats but Kernel UInt :$limit = 20, OutputFormat :$output-format = Plaintext, ) { @@ -239,6 +239,7 @@ multi MAIN( my %aggregates = Aggregator.new($stats-dir).aggregate; for Category.^enum_value_list X Metric.^enum_value_list -> ($category, $metric) { + next if $category ~~ Kernel; next if $category !~~ Host and $metric !~~ MetricSubset; if $category ~~ Host { print HostReporter.new(:%aggregates, :$metric, :$limit, :$output-format, :$header-indent).report |
