From 62168edf74bc1e908c54988d76dd7c280019a9bb Mon Sep 17 00:00:00 2001 From: Viktor Malik Date: Thu, 9 Oct 2025 08:31:13 +0200 Subject: [PATCH] Exclude the biolatency-kp.bt tool The tool attaches to kprobes (__)?blk_account_io_(start|done) neither of which exists in RHEL 9. In addition, the biolatency.bt tool does the same thing (just with tracepoints introduced for that purpose) so it is perfectly fine if we exclude it. Signed-off-by: Viktor Malik --- bpftrace.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bpftrace.spec b/bpftrace.spec index 9c1c617..39d39bf 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -89,6 +89,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 9 %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 traecpoints). +%exclude %{_datadir}/%{name}/tools/biolatency-kp.bt %changelog * Fri Jun 06 2025 Viktor Malik - 0.23.5-1