Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace runtime strip_path function with compiler intrinsic equivalents #6377
Replace runtime strip_path function with compiler intrinsic equivalents
Sleep manager tracing strips the path from filenames and uses the result as an identifier to track drivers that unlock/lock sleep tracing. Replace the function that strips the path from the string, replace this function with a new macro,
Change the driver identifier in the sleep tracing manager to a pointer of the stored file path.
Currently, the identifier is 15-byte character array that is copied from the
Pull request type
I wouldn't say it's necessary, but removing it does change the behaviour between GCC/ARM and IAR.
Mar 20, 2018
Build number : 1523
Build number : 1163
Build number : 1166