Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 495b9f3

Browse files
committed
Upgrade to UIforETW 1.57, install Windows 22H2 WPT
In order to support > 4 Gib PDBs the 22H2 version of Windows Performance Toolkit is needed. This is version 10.0.22621.755 of xperf.exe, and version 11.1.5.2 of WPA.
1 parent 2f9de79 commit 495b9f3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

UIforETW/UIforETWDlg.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ BOOL CUIforETWDlg::OnInitDialog()
437437

438438
auto xperfVersion = GetFileVersion(GetXperfPath());
439439
constexpr int64_t requiredXperfVersion = (10llu << 48) + 0 + (10586llu << 16) + (15llu << 0);
440-
// Windows 10 spring 2019 version, 10.0.18362.1 - requires Windows 8 or higher?
441-
constexpr int64_t preferredXperfVersion = (10llu << 48) + 0 + (22000llu << 16) + (194llu << 0);
440+
// Windows 11 22H2 version, requires Windows 8 or higher?
441+
constexpr int64_t preferredXperfVersion = (10llu << 48) + 0 + (22621llu << 16) + (755llu << 0);
442442

443443
wchar_t systemDir[MAX_PATH];
444444
systemDir[0] = 0;
@@ -454,8 +454,8 @@ BOOL CUIforETWDlg::OnInitDialog()
454454
{
455455
const std::wstring installPath10[] =
456456
{
457-
CanonicalizePath(GetExeDir() + L"..\\third_party\\wpt10\\WPTx64 (OnecoreUAP)-x86_en-us.msi"),
458-
CanonicalizePath(GetExeDir() + L"..\\third_party\\wpt10\\WPTx64 (DesktopEditions)-x86_en-us.msi"),
457+
CanonicalizePath(GetExeDir() + L"..\\third_party\\wpt10\\WPTx64 (OnecoreUAP)-x64_en-us.msi"),
458+
CanonicalizePath(GetExeDir() + L"..\\third_party\\wpt10\\WPTx64 (DesktopEditions)-x64_en-us.msi"),
459459
};
460460
if (PathFileExists(installPath10[0].c_str()) && PathFileExists(installPath10[1].c_str()))
461461
{

UIforETW/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// that is included hundreds of times.
66
// constexpr might help avoid that, but then it breaks my fragile upgrade-needed
77
// detection code, so this should be left as const.
8-
const float kCurrentVersion = 1.56f;
8+
const float kCurrentVersion = 1.57f;
99

1010
// Put a "#define VERSION_SUFFIX 'b'" line here to add a minor version
1111
// increment that won't trigger the new-version checks, handy for minor

package_etw.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ mkdir %destdir%\third_party
1717
mkdir %symboldir%
1818

1919
@rem Prerequisite for the WPT installer
20-
set wptredistmsi1=Windows Performance Toolkit\Redistributables\WPTx64 (OnecoreUAP)-x86_en-us.msi
20+
set wptredistmsi1=Windows Performance Toolkit\Redistributables\WPTx64 (OnecoreUAP)-x64_en-us.msi
2121
@rem The WPT installer
22-
set wptredistmsi2=Windows Performance Toolkit\Redistributables\WPTx64 (DesktopEditions)-x86_en-us.msi
22+
set wptredistmsi2=Windows Performance Toolkit\Redistributables\WPTx64 (DesktopEditions)-x64_en-us.msi
2323

2424
set wpt10=c:\Program Files (x86)\Windows Kits\10\
2525
if not exist "%wpt10%%wptredistmsi1%" goto nowpt10

0 commit comments

Comments
 (0)