mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1613991 - Register FS brokers with the profiler. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D62073 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
3dd8739d15
commit
aa1769613f
@ -628,6 +628,8 @@ void SandboxBroker::ThreadMain(void) {
|
||||
SprintfLiteral(threadName, "FS Broker %d", mChildPid);
|
||||
PlatformThread::SetName(threadName);
|
||||
|
||||
AUTO_PROFILER_REGISTER_THREAD(threadName);
|
||||
|
||||
// Permissive mode can only be enabled through an environment variable,
|
||||
// therefore it is sufficient to fetch the value once
|
||||
// before the main thread loop starts
|
||||
|
Loading…
Reference in New Issue
Block a user