Support virtual tid and virtual pid by looking at the thread's current pid namespace