Skip to content
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

Fix #315, ES Performance debug messages #461

Merged
merged 2 commits into from
Feb 25, 2020

Conversation

dmknutsen
Copy link
Contributor

Describe the contribution
Fixes issue #315, ES Performance debug messages have incorrect parameter

Testing performed

  1. Built with updated cfe_es_perf.c.
  2. Sent SetPerfFilterMaskCmd & SetPerfTriggerMaskCmd commands.
  3. Verified messages are now correct.
  4. Ran unit tests.

Expected behavior changes
DEBUG messages are now correct.

System(s) tested on:
Oracle VM VirtualBox
OS: ubuntu-19.10
Version: cFE 6.7.3.0; OSAL 5.0.3.0; PSP 1.4.1.0

Contributor Info
Dan Knutsen
GSFC/NASA

@skliper
Copy link
Contributor

skliper commented Jan 21, 2020

CCB 20200115 - Needs further review for casting/format cleanup

Copy link
Contributor

@skliper skliper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scrub casting/formats for consistancy.

@astrogeco astrogeco added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Feb 11, 2020
@astrogeco astrogeco linked an issue Feb 11, 2020 that may be closed by this pull request
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the filter mask values, would it be worth using a fixed length format such as 0x%08X ?
For a 32 bit mask, the leading zeros might make the bit positions more obvious.
Example:
uint32_t test_val1 = 0x111;
printf("test_val 1 = 0x%08X\n",test_val1);
printf("test_val 1 = 0x%x\n",test_val1);

test_val 1 = 0x00000111
test_val 1 = 0x111

@astrogeco astrogeco added this to the 6.8.0 milestone Feb 12, 2020
@astrogeco
Copy link
Contributor

CCB 20200212 - Approved

@astrogeco astrogeco added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Feb 13, 2020
@astrogeco astrogeco changed the base branch from master to ic-20200226 February 25, 2020 19:23
@astrogeco astrogeco merged commit 80de1e8 into nasa:ic-20200226 Feb 25, 2020
@astrogeco astrogeco mentioned this pull request Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ES Performance debug messages have incorrect parameter
3 participants