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

About TraceX smp support #14

Open
Emikoer opened this issue Aug 8, 2024 · 2 comments
Open

About TraceX smp support #14

Emikoer opened this issue Aug 8, 2024 · 2 comments

Comments

@Emikoer
Copy link

Emikoer commented Aug 8, 2024

When I run two threads on smp, theoretically both threads should be running at the same time. But after using Azure RTOS TraceX application to analyze tracex data, I got the following result in the picture. I didn't see thread 0 running but it should run all the time like thread 1.

image

Does the parsing tool I am using (Azure RTOS TraceX ) not support TraceX smp data parsing? And Why does the code not use TX_TRACE_IN_LINE_INSERT to insert a TX_TRACE_RUNNING event, but there is an R icon after parsing trx data?

Thanks for your reply!

@fdesbiens fdesbiens transferred this issue from eclipse-threadx/rtos-docs Dec 18, 2024
@fdesbiens
Copy link

Members of @eclipse-threadx/iot-threadx-committers and @eclipse-threadx/iot-threadx-contributors: can someone with more knowledge of the codebase's history can comment?

@billlamiework
Copy link

It would be good to know the status of Thread 0. Is it ready or somehow suspended, finished, or terminated? Also, which core(s) do you expect thread 0 and thread 1 to run on? This display could be valid if they are both mapped to the same core or thread 0 is not ready..

As for the TX_TRACE_RUNNING event, these are internally added by TraceX to help better visualize where an execution was before some events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants