Created
August 27, 2025 07:33
-
-
Save rsarrazin2/bc0dea0ed9b3a251ba3ee81162fb1029 to your computer and use it in GitHub Desktop.
Enable Intel VTune on WSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
"runArgs": [ | |
"--network=host", | |
"--privileged", | |
"--cap-add", | |
"CAP_SYS_ADMIN", | |
"--cap-add", | |
"CAP_SYS_PTRACE", | |
"--publish", | |
"7788:7788" | |
], | |
// ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
RUN cd /tmp && wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB && apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ | |
&& rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB && add-apt-repository "deb https://apt.repos.intel.com/oneapi all main" \ | |
&& apt update && export DEBIAN_FRONTEND=noninteractive \ | |
&& apt-get -y install --no-install-recommends libgtk-3-0 intel-oneapi-vtune |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in container | |
source /opt/intel/oneapi/setvars.sh | |
vtune-backend --allow-remote-access --web-port=7788 --enable-server-profiling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resources: