Same problem in Ubuntu 21.10 on kernel 5.13.0-22. Basic Hello World program doesn't work.
root@indro-linux:~/ebpf_scripts# stap hello.stp
In file included from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:6, from /usr/share/systemtap/runtime/linux/runtime_defines.h:20, from /usr/share/systemtap/runtime/runtime_defines.h:8, from /tmp/stapR7HREm/stap_3db261cacc321d17514ed3cae41da457_988_src.c:12:
/usr/share/systemtap/runtime/compatdefs.h: In function ‘_stp_is_compat_task’:
/usr/share/systemtap/runtime/compatdefs.h:18:21: error: ‘TIF_IA32’ undeclared (first use in this function)
root@indro-linux:~/ebpf_scripts# stap -V
Systemtap translator/driver (version 4.4/0.185/0.182, Debian version 4.4-2)
Copyright (C) 2005-2020 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.32 ... 5.10.0-rc
enabled features: AVAHI BPF LIBSQLITE3 NLS NSS
Same problem in Ubuntu 21.10 on kernel 5.13.0-22. Basic Hello World program doesn't work.
root@indro- linux:~ /ebpf_scripts# stap hello.stp x86/include/ asm/preempt. h:7,
from ./include/ linux/preempt. h:78,
from ./include/ linux/spinlock. h:51,
from ./include/ linux/mmzone. h:8,
from ./include/ linux/gfp. h:6,
from /usr/share/ systemtap/ runtime/ linux/runtime_ defines. h:20,
from /usr/share/ systemtap/ runtime/ runtime_ defines. h:8,
from /tmp/stapR7HREm /stap_3db261cac c321d17514ed3ca e41da457_ 988_src. c:12: systemtap/ runtime/ compatdefs. h: In function ‘_stp_is_ compat_ task’: systemtap/ runtime/ compatdefs. h:18:21: error: ‘TIF_IA32’ undeclared (first use in this function)
In file included from ./arch/
/usr/share/
/usr/share/
root@indro- linux:~ /ebpf_scripts# uname -r
5.13.0-22-generic
root@indro- linux:~ /ebpf_scripts# stap -V
Systemtap translator/driver (version 4.4/0.185/0.182, Debian version 4.4-2)
Copyright (C) 2005-2020 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.32 ... 5.10.0-rc
enabled features: AVAHI BPF LIBSQLITE3 NLS NSS