]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
cpufreq: init max_avail_freqs with 128
authortiozhang <zyhtheonly@yeah.net>
Sun, 23 Apr 2023 10:02:54 +0000 (18:02 +0800)
committerMatthias Runge <mrunge@matthias-runge.de>
Sun, 23 Apr 2023 13:02:11 +0000 (15:02 +0200)
Signed-off-by: tiozhang <zyhtheonly@yeah.net>
src/cpufreq.c

index b8a98a2e28a0189ae46d28ee15fbe7c3eecdb689..befbb647d3fa16ec523adfb5de6bf0629e45cc06 100644 (file)
@@ -31,7 +31,7 @@
 #endif
 
 #if KERNEL_LINUX
-static int max_avail_freqs = 20; // default MAX_AVAIL_FREQS
+static int max_avail_freqs = 128; // default MAX_AVAIL_FREQS
 
 static int num_cpu;