Add process id and thread id