Skip to content
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

Sync libbpf #321

Merged
merged 2 commits into from
Dec 22, 2022
Merged

Sync libbpf #321

merged 2 commits into from
Dec 22, 2022

Conversation

thiagoftsm
Copy link
Contributor

@thiagoftsm thiagoftsm commented Dec 21, 2022

Summary

More details after tests....

Test Plan
  1. Clone this branch and run:
# make clean; make tester
  1. Get binaries from this link, and store inside a directory, for example, artifacts.
  2. Extract them inside a directory:
$ for i in `ls *.zip`; do unzip $i; rm .gitkeep ; rm $i; done
$ for i in `ls *.xz`; do tar -xf $i; rm $i* ; done
  1. Run the tests:
# for i in `seq 0 2`; do ./kernel/legacy_test --netdata-path ../artifacts/ --content --iteration --pid $i --log-path file_pid$i.txt; done
  1. Verify that everything ran as expected:
# grep libbpf file_pid*
# grep Fail file_pid*
Additional information

This PR was tested on:

Distribution Kernel Real Parent Parent All PIDs
Slackware Current 5.19.17 slackware_pid0.txt slackware_pid1.txt slackware_pid2.txt
Arch Linux 6.0.12-arch1-1 arch_pid0.txt arch_pid1.txt arch_pid2.txt
Ubuntu 22.04 5.15.0-33-generic ubuntu_5_15_pid0.txt ubuntu_5_15_pid1.txt ubuntu_5_15_pid2.txt
Alma 9 5.14.0-162.6.1.el9_1.x86_64 alma_5_14_pid0.txt alma_5_14_pid1.txt alma_5_14_pid2.txt
Debian 5.10.0-20-amd64 debian_pid0.txt debian_pid1.txt debian_pid2.txt
Oracle 5.4.17-2136.314.6.3.el8uek.x86_64 oracle_pid0.txt oracle_pid1.txt oracle_pid2.txt
Alma 8 4.18.0-425.3.1.el8.x86_64 Alma_4_18_pid0.txt Alma_4_18_pid1.txt Alma_4_18_pid2.txt
Ubuntu 18.04 4.15.0-180-generic ubuntu_4_15_pid0.txt ubuntu_4_15_pid1.txt ubuntu_4_15_pid2.txt
Slackware current 4.14.290 slackware_4_14_0.txt slackware_4_14_1.txt slackware_4_14_2.txt
CentOS 7.9 3.10.0-1160.71.1.el7.x86_64. centos_pid0.txt centos_pid1.txt centos_pid2.txt

@thiagoftsm thiagoftsm requested a review from Ferroin as a code owner December 21, 2022 16:39
@thiagoftsm thiagoftsm marked this pull request as draft December 21, 2022 16:39
@thiagoftsm thiagoftsm marked this pull request as ready for review December 22, 2022 01:16
@thiagoftsm thiagoftsm merged commit 84e70d0 into netdata:master Dec 22, 2022
@thiagoftsm thiagoftsm deleted the update_libbpf branch December 22, 2022 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants