ircd:🆑 Mute kernel debug info; mostly zeros from driver.

This commit is contained in:
Jason Volk 2022-05-05 17:59:58 -07:00
parent 2f790baae0
commit c4d71701b8
1 changed files with 11 additions and 10 deletions

View File

@ -1219,16 +1219,17 @@ try
char buf[1][16]; char buf[1][16];
char pbuf[2][48]; char pbuf[2][48];
log::debug 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())), log, "kernel stack %s local %s group:%zu pref:%zu comp:%zu:%zu:%zu :%s",
pretty(pbuf[1], iec(local_mem_size())), pretty(pbuf[0], iec(stack_mem_size())),
group_size(), pretty(pbuf[1], iec(local_mem_size())),
preferred_group_size_multiple(), group_size(),
cgs[0], cgs[1], cgs[2], preferred_group_size_multiple(),
name, cgs[0], cgs[1], cgs[2],
}; name,
};
} }
catch(const std::exception &e) catch(const std::exception &e)
{ {