On Mon, Aug 1, 2016 at 12:22 PM, H. Mijail <[email protected]> wrote:
> Looks like the problem is that the pid provider doesn't generate :return > probes for all the functions for which it generates :entry probes, so > whenever one of those non-return-probe function gets called, the depth > can't ratchet back. Can anyone explain why those :return probes don't get > generated, and/or how to fix or avoid it? I'm analyzing my own code, so > recompiling is a possibility if it would help. You're likely running into the compiler applying the tail-call optimization. With gcc you can prevent this by compiling with -fno-optimize-sibling-calls ------------------------------------------- dtrace-discuss Archives: https://www.listbox.com/member/archive/184261/=now RSS Feed: https://www.listbox.com/member/archive/rss/184261/25769126-e243886f Modify Your Subscription: https://www.listbox.com/member/?member_id=25769126&id_secret=25769126-8d47a7b2 Powered by Listbox: http://www.listbox.com
