Exclude the biolatency-kp.bt tool

The tool attaches to kprobes (__)?blk_account_io_(start|done) neither of
which exists in RHEL 10. 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 <vmalik@redhat.com>
This commit is contained in:
Viktor Malik 2025-10-23 13:57:48 +02:00
parent 7c11d1b4f8
commit 6d5c9dbb1c
No known key found for this signature in database
GPG Key ID: AF7A2E1F6EE74FB3

View File

@ -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