HelenOS sources

DM_THREAD         702 uspace/app/trace/trace.c 			dm = dm | DM_THREAD;
DM_THREAD         799 uspace/app/trace/trace.c 	display_mask = DM_THREAD | DM_SYSTEM | DM_USER;
HelenOS homepage, sources at GitHub