-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/kprobe for http1 #8
Feature/kprobe for http1 #8
Conversation
This PR needs to be resubmitted to address issues with commit formatting, licensing, file directory structure, and the README, among other aspects. |
Dependency error, I did not see any installation instructions related to dependencies.
Please supplement the dependencies used and the installation process. |
Addressed the following issues:
|
I installed the dependencies according to the installation script, but there seems to be an error in the environment of bcc.
I successfully installed using the installation script from iovisor/bcc#3993 (comment) |
Have you tried the following
If it still doesn't work, then the issue may be the Ubuntu version. I'm using Ubuntu 22.04; for Ubuntu 20.04, perhaps you can change the packages installed in sudo apt install -y zip bison build-essential cmake flex git libedit-dev libllvm12 llvm-12-dev libclang-12-dev python zlib1g-dev libelf-dev libfl-dev python3-setuptools liblzma-dev arping iperf |
The installation script you linked (iovisor/bcc#3993 (comment)) uses v0.25.0 of bcc, but to run the code we need version v0.24.0. I believe that's the reason compilation failed |
I am using Ubuntu 22.04. I tried to use your installation script to install version 0.24 and 0.25, but encountered the same error for both versions. I followed the instructions in iovisor/bcc#3993 (comment) and successfully ran bcc 0.25. I'm not sure where the problem lies. Just leave a record here. |
kprobe and uprobe run successfully. |
It is recommended to describe the functionality of the program in the README, such as program output examples, observable aspects of HTTP, and so on. Because I am not sure if the running result meets expectations. |
This commit includes the implementation of kprobes for HTTP/1.x observability