❦  6 October 2021 15:03 +02, Salvatore Bonaccorso:

> After updating bpftrace to 0.13.0-1 in unstable, I noticed invocation
> using a BEGIN block do not work anymore, the BEGIN_trigger symbol
> cannot be resolved, basically reproducible with the minimal:
>
> # bpftrace -e 'BEGIN { }'
> Attaching 1 probe...
> ERROR: Could not resolve symbol: /proc/self/exe:BEGIN_trigger
>
> Samewise for the END_trigger.
>
> Not further checked on the issue.
>
> p.s.: please downgrade if you think important is not appropriate.

In fact, it does not happen if you have debug symbols. My patch does not
work anymore either and the previous upload did not fix this bug. Some
distributions work around that by asking "strip" to keep BEGIN_trigger.
It seems we cannot do that easily with dh_strip.
-- 
Don't diddle code to make it faster - find a better algorithm.
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to