Commit Graph

89 Commits

Author SHA1 Message Date
Ben Hillis
b9b108c548 tracing: combine collect-wsl-logs.ps1 and collect-networking-logs.ps1 (#14089)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-22 11:18:54 -08:00
Ben Hillis
87ed36a1e4 diagnostics: combine wprp files in a single one with profiles (#14048)
* diagnostics: combine wprp files in a single one with profiles

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-14 09:26:46 -08:00
Ben Hillis
cec99af70a tracing: add WSLA trace provider to wsl.wprp (#13953)
* tracing: add WSLA trace provider to wsl.wprp

* Initial plan

* Add wslaservice to Profile section in wsl.wprp

Co-authored-by: benhillis <17727402+benhillis@users.noreply.github.com>

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benhillis <17727402+benhillis@users.noreply.github.com>
2025-12-23 13:06:46 -08:00
Ben Hillis
8c166d7383 cleanup: remove stale version of wsl.wprp (#13861)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-12-11 15:37:57 -08:00
Blue
e0c6196cd5 Create a persistent install log file to help root cause package upgrade issues (#13500)
* Create a persistent install log file to help root cause package upgrade issues

* Update src/windows/common/wslutil.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Collect log file in diagnostic script

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 15:40:41 -07:00
Blue
c8cd16a169 Add a logging profile to collect hvsocket logs (#13510) 2025-09-24 14:46:01 -07:00
Blue
146a7511a5 Add VID event providers to WSL log profile (#13488) 2025-09-16 14:12:38 -07:00
Blue
5e88d9acbf Various improvements to dump-init.sh (#13177) 2025-06-26 11:55:12 -07:00
Slavy Mihov
19764aa943 Remove dependency on tcpdumpProcess for log collection (#12997) 2025-05-28 16:52:19 -07:00
Lightyears
8c61f09e4d Add superuser detection in networking logs script (#12520)
* Add super user detection; a powershell approach is used

* use the 'id' command

* avoid stderr warning & wsl alias
2025-02-10 16:59:40 -08:00
Ben Hillis
757df6a298 Improvements to collect-wsl-logs.ps1 (#12320)
* Improve collect-wsl-logs.ps1 collect uninstall logs and less windows version reg key info

* Update redirection syntax to match rest of file

---------

Co-authored-by: Ben Hillis (from Dev Box) <benhill@ntdev.microsoft.com>
2024-11-26 12:49:03 -08:00
Blue
8a44e9d5b3 Add windows version information to collect-wsl-logs.ps1 (#12077) 2024-10-01 09:21:43 -07:00
Blue
3fca568818 Dump dllhost.exe in collect-wsl-logs.ps1 (#12056) 2024-09-19 11:28:32 -07:00
Catalin-Emil Fetoiu
fc9266ffe7 updates 2024-08-30 10:58:30 -07:00
Catalin-Emil Fetoiu
e6ee234f1f get udp endpoints 2024-08-16 16:35:36 -07:00
Catalin-Emil Fetoiu
f8ff32084d print range 2024-08-09 17:30:12 -07:00
Catalin-Emil Fetoiu
b850837a49 improve iptables collection 2024-05-24 12:00:20 -07:00
Catalin-Emil Fetoiu
0ab4bfe5b6 collect get-vmswitch 2024-05-16 13:19:48 -07:00
Catalin-Emil Fetoiu
c23f95715e add nlm state and ip rules 2024-04-08 10:34:52 -07:00
Keith Horton
e0856aa89c Merge pull request #11426 from microsoft/user/khorton/add_tcpip6_parameter_output
Adding the regitry values under tcpip6/parameters
2024-04-05 17:35:28 -07:00
Catalin-Emil Fetoiu
7c6b84f255 collect state before and after 2024-04-05 15:09:40 -07:00
Keith Horton
874178562c Adding the regitry values under tcpip6/parameters to see if users have tried to disable ipv6 from the old stack registry keys which is not supported 2024-04-05 14:36:59 -07:00
Catalin-Emil Fetoiu
d9fb9f04db update tcpdump flags 2024-04-03 14:35:10 -07:00
Keith Horton
5cd49a6e32 Fixing the powershell to collect netsetup logs - the previous command worked when there were multiple files in the target path, but when there was just a single file it did not work correctly. this is verified to work with both 1 or more files in the netsetup path. 2024-04-02 13:23:35 -07:00
Keith Horton
b4f670be4e Retreiving more information to debug vswitch-related issues 2024-03-29 18:30:50 -07:00
Catalin-Emil Fetoiu
99fc48c686 add ip6tables 2024-03-25 12:00:50 -07:00
Catalin-Emil Fetoiu
a4bdb9c08f add iptables/nftables 2024-03-22 15:26:08 -07:00
Blue
1ebe3e325f Capture the state of wslservice in collect-wsl-logs.ps1 (#11338) 2024-03-22 12:20:14 -07:00
Blue
02d29c0e5d Silence errors coming from reg.exe to avoid creating confusion (#11337) 2024-03-22 12:20:05 -07:00
Slavy Mihov
5c5e6dcacf Minor updates to collect-networking-logs.ps1
* enable log collection to work offline (using local copies of networking.sh and wsl_networking.wprp, if existing)
* enable alternative mechanism to end log collection, in addition to keypress - termination of process tcpdump.
2024-03-04 10:36:03 -08:00
Catalin-Emil Fetoiu
8c6dd56249 merge commands 2024-01-12 15:16:50 -08:00
Catalin-Emil Fetoiu
887abdf5a4 fix comment 2024-01-12 14:15:41 -08:00
Catalin-Emil Fetoiu
3e905911c7 updates 2024-01-12 13:38:29 -08:00
Blue
96bd92ee98 Add a handy shortcut to collect storage logs (#11004) 2024-01-10 11:47:25 -08:00
Blue
4452cf2345 Add more providers to storage log profile (#11003)
* Add more providers to storage log profile

* Cleanup diff
2024-01-09 13:22:03 -08:00
Blue
0d5ec72d7e Add wslapi logs to wsl.wprp 2023-12-15 11:24:44 -08:00
Blue
1d54151cc8 Export the wslsuppot COM class registration during log collection (#10915) 2023-12-15 11:12:54 -08:00
Blue
dcd0348a4b Improve collect-wsl-logs.ps1's output (#10916) 2023-12-14 11:54:25 -08:00
Catalin-Emil Fetoiu
da25b43756 make script run as standalone 2023-10-31 11:23:27 -07:00
Catalin-Emil Fetoiu
bdf8773159 add firewall profile powershell 2023-10-24 12:08:02 -07:00
Catalin-Emil Fetoiu
ee49f6e622 feedback 2023-10-24 11:40:24 -07:00
Catalin-Emil Fetoiu
877acde0e9 update flag name 2023-10-23 17:03:25 -07:00
Catalin-Emil Fetoiu
1068fc260b Merge branch 'master' into user/cfetoiu/networking_script 2023-10-23 16:59:51 -07:00
Catalin-Emil Fetoiu
e36d9bdd09 update http proxy checks 2023-10-23 10:33:14 -07:00
Catalin-Emil Fetoiu
b17df298ee check if proxy variables are set 2023-10-20 17:24:36 -07:00
Catalin-Emil Fetoiu
bf268b1088 fix tcpdump usage 2023-10-20 16:24:53 -07:00
Blue
197c918236 Add log providers for hyper-v storage (#10647) 2023-10-20 12:51:14 -07:00
Catalin-Emil Fetoiu
28e5bbe487 collect tcpdump programatically 2023-10-19 14:16:25 -07:00
Catalin-Emil Fetoiu
e1fe99e0b4 fixes from testing 2023-10-19 12:25:19 -07:00
Catalin-Emil Fetoiu
330da55610 wip address feedback and simplify script 2023-10-18 16:55:58 -07:00