Hi Vincent,
On Thu, Oct 07, 2021 at 09:42:16AM +0200, Salvatore Bonaccorso wrote:
> Control: reopen -1
>
> Hey Vincent!
>
> On Thu, Oct 07, 2021 at 08:51:37AM +0200, Vincent Bernat wrote:
> > ❦ 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.
>
> Confirmed!
>
> No idea on the solution though.
Any idea on how to bring that back?
Regards,
Salvatore
p.s.: many many thanks for maintaining bpftrace in Debian!