diff --git a/bpftrace.spec b/bpftrace.spec index 3cd89bb..373cb24 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -75,6 +75,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %{_datadir}/%{name}/tools/doc/*.txt # Do not include old versions of tools, they do not work on RHEL 10 %exclude %{_datadir}/%{name}/tools/old +# biolatency-kp.bt attaches to kprobes which are inlined on RHEL 9. +# In addition, biolatency.bt does the same thing (with tracepoints). +%exclude %{_datadir}/%{name}/tools/biolatency-kp.bt %changelog