-
Notifications
You must be signed in to change notification settings - Fork 8k
subsys: tracing: Add macros for tracking list operations #86801
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
base: main
Are you sure you want to change the base?
Conversation
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
@rruuaanng Can you look at the CI failure? |
@ubieda It looks like it's not an issue, the warning is caused by my syntax.
|
Try adding it under the ForEachMacros list: Lines 34 to 85 in 0b1cff2
|
|
Would you mind rebasing to resolve conflicts? |
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
fc711ce
to
7771f25
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.
Just curiosity - do you have use cases for accessing these lists from inside Zephyr? I've imagined they would be used by external tools only, so they would only care about the symbol name.
ed78439
7771f25
to
ed78439
Compare
Add a set of `SYS_PORT_TRACK_K_*` wrapper macros for visible access to the global tracking list, and a macro `SYS_PORT_TRACK_FOR_EACH` for iterating over the tracking list. Signed-off-by: James Roy <[email protected]>
|
Add a set of 'SYS_PORT_TRACK_K_*' wrapper macros for visible access to the global tracking list, and a macro 'SYS_PORT_TRACK_FOREACH' for iterating over the tracking list.