See posix_trace_eventtypelist_getnext_id.html