mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 17:02:26 +00:00
721aacd88e
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.
28 lines
538 B
Text
28 lines
538 B
Text
{
|
|
libunwind causes spurious report
|
|
Memcheck:Param
|
|
msync(start)
|
|
...
|
|
obj:/usr/lib64/libunwind.so.*
|
|
...
|
|
fun:_ULx86_64_step
|
|
...
|
|
}
|
|
|
|
{
|
|
boost unlocks before signalling cond var
|
|
Helgrind:Misc
|
|
...
|
|
fun:pthread_cond_signal@*
|
|
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
|
|
...
|
|
}
|