netdata / kernel-collector

Linux Kernel eBPF Collectors
61 stars 15 forks source link

Update libbpf #316

Closed thiagoftsm closed 2 years ago

thiagoftsm commented 2 years ago
Summary

More details as soon the tests finish

Test Plan
  1. Get binaries from this link and store them inside a specific directory.
  2. Inside directory run:
    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 the tester:
    # make ; make tester
  4. Run the following test:
    # for i in `seq 0 2`; do ./kernel/legacy_test --netdata-path `../directory` --content --iteration --pid $i --log-path file_pid$i.txt; done
Additional information

This PR was tested on:

Distribution Kernel Real Parent Parent All PIDs
Slackware current 5.19.11 slackware_5_19_pid0.txt slackware_5_19_pid1.txt slackware_5_19_pid2.txt
Arch Linux 5.19.12-arch1-1 arch_5_19_pid0.txt arch_5_19_pid1.txt arch_5_19_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-70.26.1.el9_0.x86_64 alma_5_14_pid0.txt alma_5_14_pid1.txt alma_5_14_pid2.txt
Debian 11 5.10.0-18-amd64 debian_5_10_pid0.txt debian_5_10_pid1.txt debian_5_10_pid2.txt
Slackware Current 5.4.210 slackware_5_4_pid0.txt slackware_5_4_pid1.txt slackware_5_4_pid2.txt
Alma 8.6 4.18.0-372.26.1.el8_6.x86_64 alma_4_18_pid0.txt alma_4_18_pid1.txt alma_4_18_pid2.txt
Slackware Current 4.14.290 slackware_4_14_pid0.txt slackware_4_14_pid1.txt slackware_4_14_pid2.txt
CentOS 7.9 3.10.0-1160.71.1.el7.x86_64 centos_3_10_pid0.txt centos_3_10_pid1.txt centos_3_10_pid2.txt