mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
e105cad299
It's a very general mechanism for replacing the implementation of printf_stderr(). It's primarily used by the profiler, sparingly, and not in an important way. Worse, it prevents us from using MOZ_LOG in the profiler, which is something I want. Because if any code that locks gPSMutex also calls MOZ_LOG, that then calls printf_stderr(), which calls profiler_log(), which locks gPSMutex, which deadlocks. The only other use of set_stderr_callback() is for the ultra-hacky, for-local-use-only copy_stderr_to_file() function, which was added for B2G debugging and is no longer necessary. This patch removes set_stderr_callback() altogether. --HG-- extra : rebase_source : d31ecb482fe5899f62dc56a38e87d91f9271bab0 |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust/nsstring | ||
string | ||
system | ||
tests | ||
threads | ||
typelib | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |