diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2023-04-11 12:01:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 12:01:07 +0000 |
commit | 77a0551f92c3a7b921fc276a5c39de4badd2cecd (patch) | |
tree | cf4261ae8fb765ded2256ad2e882993a41fe84e9 /netdata-installer.sh | |
parent | e2aa89a9bbae30e6438eaeb6731222f3021437e7 (diff) |
eBPF bug fixes (#14869)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 6da397e987..c145c2800f 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1564,6 +1564,11 @@ remove_old_ebpf() { rm -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/pnetdata_ebpf"*.?.*.o fi + # Remove old eBPF programs that did not have "rhf" suffix + if [ ! -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/ebpf.d/pnetdata_ebpf_process.3.10.rhf.o" ]; then + rm -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/ebpf.d/"*.o + fi + # Remove old reject list from previous directory if [ -f "${NETDATA_PREFIX}/usr/lib/netdata/conf.d/ebpf_kernel_reject_list.txt" ]; then echo >&2 "Removing old ebpf_kernel_reject_list.txt." |