On Tue, Dec 3, 2024 at 9:15 AM Gao Xiang <hsiang...@linux.alibaba.com> wrote: > But I guess you could record more frame addresses to get the caller > of readahead_expand()? e.g. __builtin_return_address(1)?
ok, I'll try to figure that out. > Also btw, is _RET_IP_ stable among all cases as readahead_expand()? Yes, always the same address.