-
Notifications
You must be signed in to change notification settings - Fork 236
Description
Describe the bug
With the recent addition of setting the name at the Linux OS kernel in nasa/PSP#199, task names are mostly shown in the debugger but not for the ES background task. This is because the glibc/Linux has a hard limit of 16 characters for this name. So even though OS_MAX_API_NAME is 20, names need to be less than 16 chars in order to show up properly.
To Reproduce
Run CFE in debugger and look at task names - "ES_BackgroundTask" does not show up.
Expected behavior
Should show the name.
System observed on:
Ubuntu 20.04
Additional context
Recommend keeping CFE task names to be all less than 16 chars even if OS_MAX_API_NAME is set to a larger limit. OSAL is fine with longer names, but they just don't show up in the debugger due to the underlying glibc/linux limit.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.