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

Expand socket monitoring #361

Merged
merged 5 commits into from
Jan 24, 2024

Conversation

thiagoftsm
Copy link
Contributor

@thiagoftsm thiagoftsm commented Jan 23, 2024

Summary

Add socket state.

Test Plan
  1. Get binaries according your LIBC from this link and extract them inside a directory, for example: ../artifacts.
    You can also get everything for glibc here.

  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 --socket --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 currrent Bare metal 6.6.13 slackware_current_pid0.txt slackware_current_pid1.txt slackware_current_pid2.txt slackware_current_pid3.txt
Arch Vagrant VM 6.7.0-arch3-1 arch_6_7_pid0.txt arch_6_7_pid1.txt arch_6_7_pid2.txt arch_6_7_pid3.txt
Ubuntu 23.04 Vagrant VM 6.2.0-39-generic ubuntu_6_2_pid0.txt ubuntu_6_2_pid1.txt ubuntu_6_2_pid2.txt ubuntu_6_2_pid3.txt
Ubuntu 22.04 Vagrant VM 5.15.0-76-generic ubuntu_5_15_pid0.txt ubuntu_5_15_pid1.txt ubuntu_5_15_pid2.txt ubuntu_5_15_pid3.txt
Alma 9 Vagrant VM 5.14.0-362.13.1.el9_3.x86_64 alma_5_14_pid0.txt alma_5_14_pid1.txt alma_5_14_pid2.txt alma_5_14_pid3.txt
Debian 11 Vagrant VM 5.10.0-27-amd64 debian_5_10_pid0.txt debian_5_10_pid1.txt debian_5_10_pid2.txt debian_5_10_pid3.txt
Ubuntu 18.04 Vagrant VM 4.15.0-208-generic ubuntu_4_15_pid0.txt ubuntu_4_15_pid1.txt ubuntu_4_15_pid2.txt ubuntu_4_15_pid3.txt
CentOS 7 Bare Metal 3.10.0-1160.105.1.el7.x86_64 centos_3_10_pid1.txt centos_3_10_pid2.txt centos_3_10_pid3.txt centos_3_10_pid0.txt
Slackware Currrent 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 marked this pull request as draft January 23, 2024 01:52
@thiagoftsm thiagoftsm force-pushed the expand_socket_monitoring branch from cc67628 to f3b0d9b Compare January 23, 2024 13:34
@thiagoftsm thiagoftsm marked this pull request as ready for review January 24, 2024 01:18
@thiagoftsm thiagoftsm merged commit d8e8e7e into netdata:master Jan 24, 2024
35 checks passed
@thiagoftsm thiagoftsm deleted the expand_socket_monitoring branch January 24, 2024 01:19
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