Remove gfxWindowsPlatform::RecordStartupTelemetry from the content process    
    Categories
(Core :: Graphics, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed | 
People
(Reporter: jimm, Assigned: jewilde)
References
Details
(Keywords: perf, Whiteboard: [gfx-noted])
Attachments
(1 file)
Calls:
NtUserGetProcessUIContextInformation, NtGdiDdDDIEnumAdapters2, NtGdiDdDDICacheHybridQueryValue
Typical stack:
24 - win32u!NtUserDisplayConfigGetDeviceInfo
win32u!NtUserDisplayConfigGetDeviceInfo
user32!DisplayConfigGetDeviceInfo+0xa
dxgi!SAdapterDesc::SAdapterDesc+0x221
dxgi!CDXGIFactory::SampleAdaptersWorker+0x1dc
dxgi!CDXGIFactory::SampleAdapters+0xcd
dxgi!CDXGIFactory::Initialize+0xbb
dxgi!CreateDXGIFactoryImpl+0x72
dxgi!CreateDXGIFactoryActualImpl1+0x32
dxgi!CreateDXGIFactory1+0x5d
xul!mozilla::gfx::DeviceManagerDx::GetDXGIAdapter+0x157
xul!mozilla::gfx::DeviceManagerDx::EnumerateOutputs+0x41
xul!gfxWindowsPlatform::RecordStartupTelemetry+0x37
| Updated•6 years ago
           | 
|   | Assignee | |
| Updated•6 years ago
           | 
|   | Assignee | |
| Comment 1•6 years ago
           | ||
Adds early exit if not originating in the parent process when recording
display HDR capability. This helps to remove more win32k usage from
content processes.
|   | Assignee | |
| Comment 2•6 years ago
           | ||
I tagged you for review since you were the last reviewer for this function, but wanted to also double check that restricting this to the main process (which I think is what was intended in Bug 1514840) wouldn't mess up y'all's telemetry pipeline.
Let me know if this works or if you need me to change anything!
|   | Assignee | |
| Updated•6 years ago
           | 
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24870321bdeb
restrict gfxWindowsPlatform::RecordStartupTelemetry to parent; r=jrmuizel
|   | ||
| Comment 4•6 years ago
           | ||
| bugherder | ||
Description
•