aboutsummaryrefslogtreecommitdiff
path: root/contrib/valgrind/monero.supp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-11 21:34:37 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-27 13:55:21 +0000
commit721aacd88e780b30416deb66a68b87da8fe244ae (patch)
tree720cabb6fcd8c55ea018d4c6dc06a9a87631856d /contrib/valgrind/monero.supp
parentRevert "easylogging++: make the logger handle early/late logging" (diff)
downloadmonero-721aacd88e780b30416deb66a68b87da8fe244ae.tar.xz
easylogging++: faster access to logging
Turns out getting the global shared_ptr hits the profile, and passing it around still keeps it at close to ~1% CPU, which is too much for mostly silent logging. Leak the object instead, which is even safer for late logging.
Diffstat (limited to '')
-rw-r--r--contrib/valgrind/monero.supp9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/valgrind/monero.supp b/contrib/valgrind/monero.supp
index 16e34e82f..015b05a1c 100644
--- a/contrib/valgrind/monero.supp
+++ b/contrib/valgrind/monero.supp
@@ -17,3 +17,12 @@
fun:maybe_unlock_and_signal_one<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >
...
}
+
+{
+ we leak the logger, for performance reasons in on-the-fly init
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ fun:_ZN2el4base7Storage7getELPPEv
+ ...
+}