-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix sleep tracing not finding matching driver during unlock. #9685
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
Conversation
What did actually break it ? |
@scartmell-arm, thank you for your changes. |
@scartmell-arm, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good, it will be good to add a test case (failing one)
@TacoGrandeTX - Please share the use case where it was failing, and also please verify the fix
I tested this with the same test program here: #8205 On the K64F it hard faulted and on the nRF52_DK the output was wrong. It appears we missed this part of the revert:
|
@scartmell-arm 👍 to your past self for the older commit mesasge. Helps to make a quick before/after comparison. |
CI started |
@cmonr - This needs work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier should be char identifier[IDENTIFIER_WIDTH];
instead of const char *
Not sure why, I don't see a push commit in between and still code is fixed
Not fixed - Should allocate memory for string storage
https://github.com/ARMmbed/mbed-os/pull/9685/files#diff-e755578b30cfd39589b0f0a179cc520bR83
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
…e driver filepath." This reverts commit 9a0e879.
Sorry, not sure how I missed that part. Fixed. |
CI started |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Sleep tracing lookup was broken when the code was refactored during one of the commits. Revert the breaking commit.
Reverted commit: 9a0e879.
Fixes: #8205
Pull request type
[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
Reviewers
@TacoGrandeTX