-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CFE_PSP_Module_FindByName does not find base modules #393
Comments
@jphickey @dmknutsen It looks like it was intentional from the comments that only the global_config. PspModuleList was supposed to use CFE_PSP_Module_FindByName() and not the base_module. Do we still want to change it so it can look up both lists? Note: PSP/fsw/shared/src/cfe_psp_module.c Lines 45 to 52 in 47d2c1e
PSP/fsw/shared/src/cfe_psp_module.c Lines 98 to 103 in 47d2c1e
|
update to search through standard module list
Update to find psp module from standard list as well as global list
Update to find psp module from standard list as well as global list
Fix nasa#393, update cfe_psp_module_findbyname and ...getAPIEntry to search internal module list.
Fix nasa#393, update cfe_psp_module_findbyname and ...getAPIEntry to search internal module list.
Describe the bug
PSP modules can be enabled in two ways, either by adding to the
${cpuname}_PSP_MODULELIST
in targets.cmake (for optional/platform-specific hardware access routines) or a set of "standard" modules listed inpsp_module_list.cmake
file under the PSP.Problem is that
CFE_PSP_Module_FindByName()
only looks at the user-specified list (from targets.cmake) and not the list of standard modules.This is needed for HS because the
linux_sysmon
monitor (for cpu utilization) is now listed as a standard module for pc-linux PSP, but this inadvertently made it un-findable.To Reproduce
Run the current build of framework + HS app (which relies on being able to locate the
linux_sysmon
module). HS does not find a module and disables CPU usage reporting.Expected behavior
HS should find the module and enable usage reporting
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: