| 1573 | } |
| 1574 | |
| 1575 | static prof_tdata_t * |
| 1576 | prof_tdata_dump_iter(prof_tdata_tree_t *tdatas, prof_tdata_t *tdata, |
| 1577 | void *arg) { |
| 1578 | bool propagate_err = *(bool *)arg; |
| 1579 | |
| 1580 | if (!tdata->dumping) { |
| 1581 | return NULL; |
| 1582 | } |
| 1583 | |
| 1584 | if (prof_dump_printf(propagate_err, |
| 1585 | " t%"FMTu64": %"FMTu64": %"FMTu64" [%"FMTu64": %"FMTu64"]%s%s\n", |
| 1586 | tdata->thr_uid, tdata->cnt_summed.curobjs, |
| 1587 | tdata->cnt_summed.curbytes, tdata->cnt_summed.accumobjs, |
| 1588 | tdata->cnt_summed.accumbytes, |
| 1589 | (tdata->thread_name != NULL) ? " " : "", |
| 1590 | (tdata->thread_name != NULL) ? tdata->thread_name : "")) { |
| 1591 | return tdata; |
| 1592 | } |
| 1593 | return NULL; |
| 1594 | } |
| 1595 | |
| 1596 | static bool |
| 1597 | prof_dump_header_impl(tsdn_t *tsdn, bool propagate_err, |
nothing calls this directly
no test coverage detected