commit | ff8868ba701ca9b5e329cfdc7dac2fda9d46b73c | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Wed May 31 19:28:48 2023 -0700 |
committer | Gerrit Code Review <gerrit@software.frc971.org> | Wed May 31 19:28:48 2023 -0700 |
tree | 6dfeb3e1c4d5da210bcac59ca5f769e98f91ae88 | |
parent | 21ebfa48806e7fc5f39bca9f1d623e927cc57229 [diff] | |
parent | 6d8afc0f36cc55d3314015592161fa43f09cf77c [diff] |
Merge "Make malloc hook print a VLOG."
diff --git a/aos/realtime.cc b/aos/realtime.cc index d08dd91..2f5e1d9 100644 --- a/aos/realtime.cc +++ b/aos/realtime.cc
@@ -337,7 +337,9 @@ has_malloc_hook = false; } } else { - RAW_LOG(INFO, "Replacing glibc malloc"); + if (VLOG_IS_ON(1)) { + RAW_LOG(INFO, "Replacing glibc malloc"); + } if (&malloc != &aos_malloc_hook) { has_malloc_hook = false; }