参考:
https://www.pianshen.com/article/4385736680/
https://blog.csdn.net/Pig_Pig_Bang/article/details/81068888
https://blog.csdn.net/Pig_Pig_Bang/article/details/81284122
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
win10版的winsdksetup.exe和adksetup.exe不适用2008R2、适用≥2012R2,使用winsdksetup.exe和adksetup.exe都能在≥2012R2系统上安装Windows Performance Toolkit(含wpr.exe命令)。2008R2或Win7只能使用Windows 8.1 SDK,云服务器上WPT(wpr和wpa)跟实体物理机上的表现可能会有差异。
windbg需要运行wdksetup.exe进行安装,wdksetup.exe不含Windows Performance Toolkit,不要搞混了
①winsdksetup.exe
https://developer.microsoft.com/zh-cn/windows/downloads/windows-10-sdk/
https://go.microsoft.com/fwlink/p/?linkid=2120843
访问https://go.microsoft.com/fwlink/p/?linkid=2120843 下载winsdksetup.exe,安装时勾选Windows Performance Toolkit就把wpr.exe命令装上了
②adksetup.exe
https://docs.microsoft.com/zh-cn/windows-hardware/get-started/adk-install
https://go.microsoft.com/fwlink/?linkid=2165884
访问https://go.microsoft.com/fwlink/?linkid=2165884 下载adksetup.exe,安装时勾选Windows Performance Toolkit就把wpr.exe命令装上了
参考https://cloud.tencent.com/developer/article/1558367