On Mon, 22 Apr 2024 13:23:50 +0000 "Jianyue Wu (NSB)" <jianyue...@nokia-sbell.com> wrote:
> + EAL_LOG(ERR, "Cannot set affinity for thread %s with cpus %s, " > + "ret: %d, errno: %d, error description: %s", > + thread_name, cpus_str, > + ret, errno, strerror(errno)); > + } That error message is way too long, and error strings should not be broken across lines. "Set affinity thread %s to %s failed: %s" And it is a lot effort to deduce the cpuset and thread name here. Probably better to just move the error message back to the caller.