| 627 | } |
| 628 | |
| 629 | static bool |
| 630 | prof_gctx_should_destroy(prof_gctx_t *gctx) { |
| 631 | if (opt_prof_accum) { |
| 632 | return false; |
| 633 | } |
| 634 | if (!tctx_tree_empty(&gctx->tctxs)) { |
| 635 | return false; |
| 636 | } |
| 637 | if (gctx->nlimbo != 0) { |
| 638 | return false; |
| 639 | } |
| 640 | return true; |
| 641 | } |
| 642 | |
| 643 | static void |
| 644 | prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) { |
no outgoing calls
no test coverage detected