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

Update libbpf #377

Merged
merged 1 commit into from
Apr 21, 2024
Merged

Update libbpf #377

merged 1 commit into from
Apr 21, 2024

Conversation

thiagoftsm
Copy link
Contributor

@thiagoftsm thiagoftsm commented Apr 21, 2024

Summary

This PR updates libbpf used to compile our binaries.

Test Plan
  1. Get binaries according to your C library from this link and extract them inside a directory, for example: ../artifacts.
    You can also get everything for glibc [here](UPLOAD FILE WITH ALL BINARIES TO SIMPLIFY REVIEWERS).

  2. Extract them running:

    $ 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
  3. Compile branch an run the following tests:

    # make clean; make tester
    # for i in `seq 0 3`; do ./kernel/legacy_test --netdata-path ../artifacts --content --iteration 1 --pid $i --log-path file_pid$i.txt; done
  4. Every test should ends with Success, unless you do not have a specific target (function) available.

Additional information

This PR was tested on:

Linux Distribution Environment Kernel Version Real Parent Parent All PIDs Without PIDs
Slackware current Bare metal 6.6.28 slackware_pid0.txt slackware_pid1.txt slackware_pid2.txt slackware_pid3.txt
Arch Linux Libvirt 6.8.7-arch1-1 arch_pid0.txt arch_pid1.txt arch_pid2.txt arch_pid3.txt
Ubuntu 22.04 Libivrt 5.15 ubuntu_pid0.txt ubuntu_pid1.txt ubuntu_pid2.txt ubuntu_pid3.txt
Ubuntu 18.04 Libvirt 4.15 ubuntu_4_15_pid0.txt ubuntu_4_15_pid1.txt ubuntu_4_15_pid2.txt ubuntu_4_15_pid3.txt
Slackware Current Qemu 4.14.290 slackware_4_14_pid0.txt slackware_4_14_pid1.txt slackware_4_14_pid2.txt slackware_4_14_pid3.txt

@thiagoftsm thiagoftsm requested a review from Ferroin as a code owner April 21, 2024 16:01
@thiagoftsm thiagoftsm merged commit 41daa78 into netdata:master Apr 21, 2024
38 checks passed
@thiagoftsm thiagoftsm deleted the update_libbpf branch April 21, 2024 22:13
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.

1 participant