mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-11 04:35:57 -06:00
Dump dllhost.exe in collect-wsl-logs.ps1 (#12056)
This commit is contained in:
parent
f32da000c4
commit
3fca568818
@ -127,7 +127,7 @@ if ($Dump)
|
|||||||
$dumpFolder = Join-Path (Resolve-Path "$folder") dumps
|
$dumpFolder = Join-Path (Resolve-Path "$folder") dumps
|
||||||
New-Item -ItemType "directory" -Path "$dumpFolder"
|
New-Item -ItemType "directory" -Path "$dumpFolder"
|
||||||
|
|
||||||
$executables = "wsl", "wslservice", "wslhost", "msrdc"
|
$executables = "wsl", "wslservice", "wslhost", "msrdc", "dllhost"
|
||||||
foreach($process in Get-Process | Where-Object { $executables -contains $_.ProcessName})
|
foreach($process in Get-Process | Where-Object { $executables -contains $_.ProcessName})
|
||||||
{
|
{
|
||||||
$dumpFile = "$dumpFolder/$($process.ProcessName).$($process.Id).dmp"
|
$dumpFile = "$dumpFolder/$($process.ProcessName).$($process.Id).dmp"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user