Inlining of alloc_0() and alloc_1() would prevent generation of unique backtraces, upon which the test code relies.
Re-structure alloc_[01](), which are mutually tail-recursive functions, to do (unnecessary) work post-recursion so that the compiler cannot perform tail call optimization, thus preserving intentionally unique call paths in captured backtraces.
Fix a regression in prof_dump_ctx() due to an uninitized variable. This was caused by revision 4f37ef693e, so no releases are affected.
4f37ef693e