From c8cd16a1697a6fb7ff1088c21feb5d5fe0f16898 Mon Sep 17 00:00:00 2001 From: Blue Date: Wed, 24 Sep 2025 21:46:01 +0000 Subject: [PATCH] Add a logging profile to collect hvsocket logs (#13510) --- diagnostics/collect-wsl-logs.ps1 | 4 + diagnostics/wsl_hvsocket.wprp | 172 +++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+) create mode 100644 diagnostics/wsl_hvsocket.wprp diff --git a/diagnostics/collect-wsl-logs.ps1 b/diagnostics/collect-wsl-logs.ps1 index 8032298..d8a1b02 100644 --- a/diagnostics/collect-wsl-logs.ps1 +++ b/diagnostics/collect-wsl-logs.ps1 @@ -21,6 +21,10 @@ if ($LogProfile -eq $null -Or ![System.IO.File]::Exists($LogProfile)) { $url = "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/wsl_storage.wprp" } + elseif ($LogProfile -eq "hvsocket") + { + $url = "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/wsl_hvsocket.wprp" + } else { Write-Error "Unknown log profile: $LogProfile" diff --git a/diagnostics/wsl_hvsocket.wprp b/diagnostics/wsl_hvsocket.wprp new file mode 100644 index 0000000..66ed917 --- /dev/null +++ b/diagnostics/wsl_hvsocket.wprp @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file