-
Notifications
You must be signed in to change notification settings - Fork 97
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
Run kyanos on WSL failed #172
Comments
Hello @maxy19! I'm here to help you with any bugs, questions, or contributions. Let's tackle this together! The error message indicates that the kprobe failed to attach to the Here are a few things you can check or try:
If these steps do not resolve the issue, you may need to investigate further based on your specific system configuration and kernel version. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Thanks for your feedback! What your os version, please execute |
Linux maxy 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux |
执行 :grep CONFIG_DEBUG_INFO_BTF "/boot/config-$(uname -r)" |
Currently validated to run only on Linux; WSL adaptation will be supported in further(And also windows/macos). |
我用的是wsl的 Ubuntu系统 24版本的 这个目前支持吗? |
In theory it is possible, but the Linux distributions on WSL do not come with Linux headers by default, which are required by kyanos. |
⣟ 🦜 Kyanos Loading...
..............................
..............................
🍩 Kyanos starting... 1ns
🍎 Loaded eBPF maps & programs. 307.178028ms
🍓 Setup traffic filters 46.04µs
Press ctrl+c to exit
2024/12/12 17:31:18 kprobe2 failed: security_socket_recvmsg, creating perf_kprobe PMU (arch-specific fallback for "security_socket_recvmsg"): token __x64_security_socket_recvmsg: not found: no such file or directory, fallbacking..
内核
Linux maxy 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
使用权限
root
使用操作系统
win11 ,wsl2
The text was updated successfully, but these errors were encountered: