| 895 | } |
| 896 | |
| 897 | static bool |
| 898 | prof_gctx_should_destroy(prof_gctx_t *gctx) { |
| 899 | if (opt_prof_accum) { |
| 900 | return false; |
| 901 | } |
| 902 | if (!tctx_tree_empty(&gctx->tctxs)) { |
| 903 | return false; |
| 904 | } |
| 905 | if (gctx->nlimbo != 0) { |
| 906 | return false; |
| 907 | } |
| 908 | return true; |
| 909 | } |
| 910 | |
| 911 | static void |
| 912 | prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) { |
no outgoing calls
no test coverage detected