On Sat, Jan 25, 2025 at 01:16:55AM +0900, Masami Hiramatsu wrote: > Now what you could know is that the kernel does not call the > "rt_mutex_slowunlock" symbol and it may call another copied symbol. That's > a good to know right? > > Note that this in-kernel kretprobe API is a low-layer API, so that user is > responsible for controlling it carefully. This kretprobe API itself does NOT > know which copy of the optimized symbols are used. > (there could be inlined instance too) > > If you need to know how many copies are generated or inlined, you need to > use the debuginfo as "perf probe" tool does, which can not handled by the > kernel itself because it is too big to be loaded. That is why I made the > "perf probe" as an external tool.
Got it, thanks so much for the information! Best regards, Nam
