Support processName and threadName.