[PATCH v6 10/27] util: add API to fetch the current thread name