Skip to content

Commit e23ab1e

Browse files
Merge pull request #1870 from odincodeshen/main
Remove unnecessary steps from the latest WindowsPerf installation method.
2 parents a8f949f + ed7679c commit e23ab1e

File tree

1 file changed

+2
-84
lines changed

1 file changed

+2
-84
lines changed

content/install-guides/wperf.md

Lines changed: 2 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -79,70 +79,11 @@ Starting package uninstall...
7979
Successfully uninstalled
8080
```
8181

82-
## Visual Studio and the Windows Driver Kit (WDK)
83-
84-
WindowsPerf relies on `dll` files installed with Visual Studio, from the Community Edition or higher and, optionally, installers from the Windows Driver Kit extension.
85-
86-
For information about the WDK installation process, see [Download the Windows Driver Kit (WDK)](https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk).
87-
88-
See also the [Visual Studio for Windows on Arm install guide](/install-guides/vs-woa/).
89-
90-
## Download WindowsPerf
91-
92-
You can download the latest release package, `windowsperf-bin-<version>.zip` from the Linaro GitLab repository:
93-
```url
94-
https://gitlab.com/Linaro/WindowsPerf/windowsperf/-/releases
95-
```
96-
97-
To download directly from command prompt, use:
98-
99-
```console
100-
mkdir windowsperf-bin-4.0.0
101-
cd windowsperf-bin-4.0.0
102-
curl -L -O https://gitlab.com/api/v4/projects/40381146/packages/generic/windowsperf/4.0.0/windowsperf-bin-4.0.0.zip
103-
```
104-
105-
Unzip the package:
106-
107-
```console
108-
tar -xmf windowsperf-bin-4.0.0.zip
109-
```
110-
111-
## Install wperf driver
112-
113-
You can install the kernel driver using the supplied `wperf-devgen` installer.
114-
115-
The [wperf-devgen](https://gitlab.com/Linaro/WindowsPerf/windowsperf/-/tree/main/wperf-devgen/README.md) tool has been designated as the preferred installer and uninstaller for the WindowsPerf Kernel Driver in the latest release. This tool offers a simple process for managing the installation and removal of the driver.
116-
11782
{{% notice Note%}}
118-
You must install the driver as `Administrator`.
83+
WinPerf is an open-source project. If you would like to develop WindowsPerf yourself, you may also need to install the Windows Driver Kit (WDK). Please refer to this link for more details.
84+
https://learn.microsoft.com/en-us/windows-hardware/drivers/wdk-release-notes
11985
{{% /notice %}}
12086

121-
Open a **Windows Command Prompt** terminal with **Run as administrator** selected.
122-
123-
Make sure you are in the `windowsperf-bin-<version>` directory:
124-
125-
```command
126-
cd windowsperf-bin-4.0.0
127-
```
128-
129-
### Install with wperf-devgen
130-
131-
Navigate to the `wperf-driver` folder and run the installer:
132-
133-
```command
134-
cd wperf-driver
135-
wperf-devgen install
136-
```
137-
138-
The output should be similar to:
139-
140-
```output
141-
Executing command: install.
142-
Install requested.
143-
Device installed successfully
144-
```
145-
14687
## Verify install
14788

14889
You can check everything is working by running the `wperf` executable.
@@ -167,30 +108,7 @@ You see output similar to:
167108
wperf-driver 4.0.0 b18197bd +etw-drv
168109
169110
```
170-
## Uninstall wperf driver
171-
172-
You can uninstall (or *remove*) the kernel driver using supplied [wperf-devgen](#devgen_uninstall) uninstaller.
173111

174-
{{% notice Note%}}
175-
You must uninstall the driver as `Administrator`.
176-
{{% /notice %}}
177-
178-
### Uninstall with wperf-devgen {#devgen_uninstall}
179-
180-
```command
181-
cd windowsperf-bin-4.0.0\wperf-driver
182-
wperf-devgen uninstall
183-
```
184-
185-
The output is similar to:
186-
187-
```console
188-
Executing command: uninstall.
189-
Uninstall requested.
190-
Root\WPERFDRIVER
191-
Device found
192-
Device uninstalled successfully
193-
```
194112

195113
## Install WindowsPerf Virtual Studio Extension (optional) {#vs2022}
196114

0 commit comments

Comments
 (0)