btrace(8): fix probe builtin in BEGIN/END.
authordv <dv@openbsd.org>
Sat, 2 Sep 2023 15:16:12 +0000 (15:16 +0000)
committerdv <dv@openbsd.org>
Sat, 2 Sep 2023 15:16:12 +0000 (15:16 +0000)
commit9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9
tree9ceacf33fd96913cac7ef15492c126d96cae6911
parenta514d4594e28eba7483096cbe8dfa64a3b82b617
btrace(8): fix probe builtin in BEGIN/END.

Resolves segfaults when using probe within BEGIN or END.

ok mpi@
regress/usr.sbin/btrace/beginend.bt
usr.sbin/btrace/btrace.c