Filter by processes and by thread ID