Strip bpftrace binaries
Historically, bpftrace binary could not be stripped as its symbols were needed for the BEGIN and END probes. However, these probes are now implemented as BPF_PROG_TYPE_RAW_TRACEPOINT and executed via BPF_PROG_RUN. Therefore, binaries can be stripped now. Signed-off-by: Viktor Malik <vmalik@redhat.com>
This commit is contained in:
parent
3ac07929ae
commit
7c11d1b4f8
@ -53,12 +53,6 @@ and predecessor tracers such as DTrace and SystemTap
|
||||
|
||||
|
||||
%install
|
||||
# The post hooks strip the binary which removes
|
||||
# the BEGIN_trigger and END_trigger functions
|
||||
# which are needed for the BEGIN and END probes
|
||||
%global __os_install_post %{nil}
|
||||
%global _find_debuginfo_opts -g
|
||||
|
||||
%cmake_install
|
||||
|
||||
# Fix shebangs (https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user