[PATCH v5 08/24] util: add API to fetch the current thread name