From c4d71701b820efbd681543f1c5b45c05c72f4b2c Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 5 May 2022 17:59:58 -0700 Subject: [PATCH] ircd::cl: Mute kernel debug info; mostly zeros from driver. --- ircd/cl.cc | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/ircd/cl.cc b/ircd/cl.cc index d98fb59c5..7e86abf01 100644 --- a/ircd/cl.cc +++ b/ircd/cl.cc @@ -1219,16 +1219,17 @@ try char buf[1][16]; char pbuf[2][48]; - log::debug - { - log, "kernel stack %s local %s group:%zu pref:%zu comp:%zu:%zu:%zu :%s", - pretty(pbuf[0], iec(stack_mem_size())), - pretty(pbuf[1], iec(local_mem_size())), - group_size(), - preferred_group_size_multiple(), - cgs[0], cgs[1], cgs[2], - name, - }; + if constexpr((false)) + log::debug + { + log, "kernel stack %s local %s group:%zu pref:%zu comp:%zu:%zu:%zu :%s", + pretty(pbuf[0], iec(stack_mem_size())), + pretty(pbuf[1], iec(local_mem_size())), + group_size(), + preferred_group_size_multiple(), + cgs[0], cgs[1], cgs[2], + name, + }; } catch(const std::exception &e) {