mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
b460ef68c0
To intercept COM IPC, we provide an `IChannelHook` interface to `CoRegisterChannelHook`, which gives us notifications about COM IPC that we can use to insert profiler markers. Note that `IChannelHook` is not documented on MSDN, however it is defined in the SDK header files. When the profiler is available, once XPCOM is up: * If the profiler is active, we immediately register the channel hook; * Otherwise we register an observer and hold off on registering the hook until the profiler is started, at which point we register the hook and remove the observer. Differential Revision: https://phabricator.services.mozilla.com/D80053 |
||
---|---|---|
.. | ||
mozglue | ||
oop | ||
ActivationContext.cpp | ||
ActivationContext.h | ||
Aggregation.h | ||
AgileReference.cpp | ||
AgileReference.h | ||
ApartmentRegion.h | ||
AsyncInvoker.h | ||
COMPtrHolder.h | ||
DispatchForwarder.cpp | ||
DispatchForwarder.h | ||
EnsureMTA.cpp | ||
EnsureMTA.h | ||
FastMarshaler.cpp | ||
FastMarshaler.h | ||
IHandlerProvider.h | ||
Interceptor.cpp | ||
Interceptor.h | ||
InterceptorLog.cpp | ||
InterceptorLog.h | ||
MainThreadHandoff.cpp | ||
MainThreadHandoff.h | ||
MainThreadInvoker.cpp | ||
MainThreadInvoker.h | ||
moz.build | ||
Objref.cpp | ||
Objref.h | ||
PassthruProxy.cpp | ||
PassthruProxy.h | ||
ProcessRuntime.cpp | ||
ProcessRuntime.h | ||
ProfilerMarkers.cpp | ||
ProfilerMarkers.h | ||
ProxyStream.cpp | ||
ProxyStream.h | ||
Ptr.h | ||
Registration.cpp | ||
Registration.h | ||
RegistrationAnnotator.cpp | ||
RegistrationAnnotator.h | ||
SpinEvent.cpp | ||
SpinEvent.h | ||
StructStream.cpp | ||
StructStream.h | ||
Utils.cpp | ||
Utils.h | ||
VTableBuilder.c | ||
VTableBuilder.h | ||
WeakRef.cpp | ||
WeakRef.h |