From f9f5e0183b69e77bb388010e5ca1686c7cfd0930 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 29 Apr 2023 11:11:59 +0300 Subject: by default, exclude Kernel, as it is too verbose --- guprecords.raku | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3