[PATCH v4 07/23] util: add API to fetch the current thread name