On Wed, 2024-10-09 at 11:58 -0700, Martin Kelly wrote: > Hi all, I want to report a very strange issues I found. Specifically, > on latest master, I found that setting CONFIG_X86_X32_ABI=y causes > some > fentry BPF hooks to be silently ignored. Most hooks still work fine, > but some do not, and the same function works fine as a kprobe. The > issue appears to be 100% reproducible for a given function hook. > This was root-caused to be the same issue as the one addressed in this (unmerged) patch series: https://lore.kernel.org/lkml/20240723063258.2240610-1-zhengyejian@xxxxxxxxxxxxxxx/ Essentially this has to do with ftrace and weak functions.