If you're wondering what BPF is: https://linux-audit.com/bpfilter-next-generation-linux-firew... and https://en.wikipedia.org/wiki/Berkeley_Packet_Filter
Prior to BPF there was "Enet Packet Filter", then Ultrix Packet Filter then something under SunOS before it became BPF. BPF was created in 1990 (at Berkeley) which was widely BSD oriented.
BPF, BSD — notice the first letter is the same ;-)
Also, many systems (some BSDs, SmartOS, macOS, Windows10, …) have an in-kernel VM for running dtrace bytecode.