-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can i add perf in this ubuntu #329
Comments
At this time we are focusing on providing the Bash on Ubuntu environment and some of the developer tools (i.e. node). Tools like perf have taken a lower priority. For future releases we'll be using our User Voice page to help inform us on the priorities of the community. |
Would love to see this feature. |
I'm on 20H1, and I'm unclear how to make this work.
I saw you mention this command in another issue. Here is what I see
It seems like perhaps the kernel supports it, but I still am missing the associated aptitude packages. |
You can build those Linux kernel tools from source code. Shallow clone the WSL2 Linux kernel repo, cd into tools folder, run |
The built
|
@crvdgc In the previous comment by @bushidocodes, he mentioned WSL2 which uses actual Linux kernel. Hence |
Oh, you're right. I didn't realized you were replying to the WSL2 comment. Thanks. |
I'm running insider release and my kernel (WSL2) is 4.4.0-19592-Microsoft and I'm having the same issue as @crvdgc in that
How do I get |
I solved my own issue, I thought WSL2 was the default on insider. I needed to upgrade my wsl
Then I built perf and it works... to save other people the effort and pain I pushed it to github... hopefully microsoft will build this and I can delete this work-around https://github.com/postwait/wsl2-stuff/tree/master/linux-tools |
perf worked, running on WSL2 gentoo |
Thanks, I built a VSCode + Docker environment based on this: https://github.com/Trass3r/WSL2-Linux-Kernel-Docker-Build/releases. |
can i add perf in this ubuntu
WARNING: perf not found for kernel 3.4.0+
You may need to install the following packages for this specific kernel:
linux-tools-3.4.0+
The text was updated successfully, but these errors were encountered: