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 #393

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,13 @@ jobs:
- '4.16.18'
- '4.18.0'
- '4.14.291'
- '3.10.0'
libc:
- static
- glibc
- musl
exclude:
# excludes static on 3.10.0 (https://github.com/netdata/kernel-collector/issues/153)
- kernel_version: 3.10.0
libc: static
- kernel_version: 5.4.17
libc: static
# excludes musl on 3.10.0
- kernel_version: 3.10.0
libc: musl
- kernel_version: 5.4.17
libc: musl
runs-on: ubuntu-latest
Expand All @@ -54,8 +47,6 @@ jobs:
os=oracle8
elif [ ${{ matrix.kernel_version }} = "4.18.0" ]; then
os=centos8
elif [ ${{ matrix.kernel_version }} = "3.10.0" ]; then
os=centos7
else
os=generic
fi
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,13 @@
- '4.16.18'
- '4.18.0'
- '4.14.291'
- '3.10.0'
libc:
- static
- glibc
- musl
exclude:
# excludes static on 3.10.0 (https://github.com/netdata/kernel-collector/issues/153)
- kernel_version: 3.10.0
libc: static
- kernel_version: 5.4.17
libc: static
# excludes musl on 3.10.0
- kernel_version: 3.10.0
libc: musl
- kernel_version: 5.4.17
libc: musl
runs-on: ubuntu-latest
Expand All @@ -56,8 +49,6 @@
os=oracle8
elif [ ${{ matrix.kernel_version }} = "4.18.0" ]; then
os=centos8
elif [ ${{ matrix.kernel_version }} = "3.10.0" ]; then
os=centos7
else
os=generic
fi
Expand Down Expand Up @@ -85,16 +76,17 @@
path: artifacts
merge-multiple: true
- name: Set release_tag
run: |

Check failure on line 79 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: .github/workflows/release.yml:79:9: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck]
echo "RELEASE_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Consolidate Artifacts
run: |

Check failure on line 82 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2231:info:3:41: Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt [shellcheck] Raw Output: .github/workflows/release.yml:82:9: shellcheck reported issue in this script: SC2231:info:3:41: Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt [shellcheck]
mkdir -p final-artifacts
for libc in static glibc musl; do
for pkg in artifacts/netdata_ebpf-*_*-${libc}.tar.xz; do
mkdir -p "packages/netdata-kernel-collector-${libc}-${RELEASE_TAG}"
tar -C "packages/netdata-kernel-collector-${libc}-${RELEASE_TAG}" -xvf "${pkg}"
done
if [ "${libc}" == "glibc" ]; then cp -R CentOS7/glibc/* "packages/netdata-kernel-collector-${libc}-${RELEASE_TAG}"; fi
tar -C "packages/netdata-kernel-collector-${libc}-${RELEASE_TAG}" -Jcvf "final-artifacts/netdata-kernel-collector-${libc}-${RELEASE_TAG}.tar.xz" ./
done
cd final-artifacts && sha256sum ./*.tar.xz > sha256sums.txt
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

*.ll
*.o*
!CentOS7/*.o*

*.skel.h
*.a
Expand Down
Binary file added CentOS7/pnetdata_ebpf_btrfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_cachestat.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_dc.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_disk.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_ext4.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_fd.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_fdatasync.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_fsync.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_hardirq.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_mdflush.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_mount.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_msync.3.10.rhf.o
Binary file not shown.
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_nfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_oomkill.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_process.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_shm.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_socket.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_softirq.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_swap.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_sync.3.10.rhf.o
Binary file not shown.
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_syncfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_vfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_xfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/pnetdata_ebpf_zfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_btrfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_cachestat.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_dc.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_disk.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_ext4.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_fd.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_fdatasync.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_fsync.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_hardirq.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_mdflush.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_mount.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_msync.3.10.rhf.o
Binary file not shown.
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_nfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_oomkill.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_process.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_shm.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_socket.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_softirq.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_swap.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_sync.3.10.rhf.o
Binary file not shown.
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_syncfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_vfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_xfs.3.10.rhf.o
Binary file not shown.
Binary file added CentOS7/rnetdata_ebpf_zfs.3.10.rhf.o
Binary file not shown.