SHOULD_REPORT_EVENT
if (SHOULD_REPORT_EVENT(curthread, TD_CREATE)) {
if (SHOULD_REPORT_EVENT(curthread, TD_DEATH))