-
Notifications
You must be signed in to change notification settings - Fork 8.1k
debug: thread_analyzer: add thread analyzer option to reset frame #95118
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
debug: thread_analyzer: add thread analyzer option to reset frame #95118
Conversation
5d36b2e
to
935f261
Compare
935f261
to
d713727
Compare
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.
LGTM
d713727
to
3b83fa6
Compare
abe5041
to
23948fb
Compare
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.
I think that we are almost there--just a couple of slight tweaks.
Use THREAD_ANALYZER_LONG_FRAME_PER_INTERVAL config to reset longest frame value to zero after printing so that longest frame now represents longest frame for the most recent interval. The longest overall frame is often at startup and this modification allows one to observe subsequent long frames. Signed-off-by: Jay Lawlor <[email protected]> Signed-off-by: Dan Kalowsky <[email protected]>
23948fb
to
b9fda44
Compare
|
Introduce the THREAD_ANALYZER_LONG_FRAME_PER_INTERVAL Kconfig to reset the longest frame value to zero after printing enabling analysis where the longest frame can now represents the most recent interval. The longest overall frame is often at startup and this modification allows one to observe subsequent long frames.