On Sun, Oct 20, 2024 at 12:14:31PM -0700, Yonghong Song wrote: SNIP > +__naked __noinline __used > +static unsigned long loop_callback(void) > +{ > + asm volatile ( > + "call %[bpf_get_prandom_u32];" > + "r1 = 42;" > + "*(u64 *)(r10 - 512) = r1;" > + "call cumulative_stack_depth_subprog;" > + "r0 = 0;" > + "exit;" > + : > + : __imm(bpf_get_prandom_u32) > + : __clobber_common); > +} > + > +SEC("raw_tp") > +__description("Private stack, callback") > +__success > +__arch_x86_64 > +/* for func loop_callback */ > +__jited("func #1") > +__jited(" endbr64") this should fail if CONFIG_X86_KERNEL_IBT is not enabled, right? hm, but I can see that also in other tests, so I guess it's fine, should we add it to config.x86_64 ? jirka