-
Notifications
You must be signed in to change notification settings - Fork 7
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
Instruction tracing #10
Conversation
Added: Generic Pump, Callstack Generator Class Mortrall, gdb script for etmv4 tracing, bug with cmsis-dap
The idea was to make an easy NuttX programm to run on muleboard which makes it easier to test the new mortrall functionality. Did not work for now!
issues with cycle count, multiple threads not supported
only perfetto display has some bugs
etm_cc not working
all installs to run metrics
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.
See also required patches in https://github.com/Auterion/PX4_firmware_private/commit/033975139a65c65f4d129659baf0a66d96ea88d3
thread_name | ||
FROM ( | ||
SELECT | ||
ts - 35696370 AS ts, |
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.
unclear why fixed offset
@@ -1095,6 +1212,9 @@ int main(int argc, char *argv[]) | |||
thread->set_tid(tid); | |||
thread->set_tgid(PID_TSK); | |||
} | |||
auto *thread = process_tree->add_threads(); | |||
thread->set_tid(100); | |||
thread->set_tgid(PID_TSK); |
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.
this is the bootloader thread which should be moved to the bottom
Mortrall::r->op.workingAddr += ( ic & LE_IC_4BYTE ) ? 4 : 2; | ||
} | ||
} | ||
else if (ic & LE_IC_SYNC_BARRIER) |
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.
optimize if else
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.
Also check and upstream orbculum changes.
niklaut/orbuculum@ac9514e#diff-f3899d23668ce3cd983412d4a617caa657c6dbb5ada1766a546ef37d6d9b56ebR57
Ooops, clicked the wrong button… 🤦 |
No description provided.