nasa / PSP

The Core Flight System (cFS) Platform Support Package (PSP)
Apache License 2.0
66 stars 56 forks source link

Fix #385, adds generic driver interface and Linux sysmon module #386

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Checklist (Please check before submitting)

Describe the contribution Defines an "iodriver" interface with a simple module id + opcode + argument interface, which can be extended as necessary for different purposes.

Also adds a "linux_sysmon" module that implements this interface to provide system monitoring capabilities. This includes, but is not limited to, the CPU utilization that HS needs.

Fixes #385

Testing performed Build and run CFE with (patched) HS, observe CPU utilization getting reported correctly via the PSP module

Expected behavior changes Adds "iodriver" pluggable/extendable interface, and "linux_sysmon" for health monitoring

System(s) tested on Debian

Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.

jphickey commented 1 year ago

@dzbaker all issues have been cleaned up now, should be good to go.