MONWRITE_GEN_EVENT
if (monhdr->mon_function != MONWRITE_GEN_EVENT)
case MONWRITE_GEN_EVENT:
if (entry->hdr.mon_function != MONWRITE_GEN_EVENT)