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

Investigate external tools for graphical representations of traces #89

Open
tmplt opened this issue Dec 7, 2021 · 5 comments
Open

Investigate external tools for graphical representations of traces #89

tmplt opened this issue Dec 7, 2021 · 5 comments
Labels
investigate This issue needs further investigation

Comments

@tmplt
Copy link
Member

tmplt commented Dec 7, 2021

See https://www.brendangregg.com/flamegraphs.html

The whole website seems like an interesting read. We can probably find something to help us visualize traces of RTIC applications.

@tmplt tmplt added the investigate This issue needs further investigation label Dec 7, 2021
@tmplt
Copy link
Member Author

tmplt commented Dec 7, 2021

Flame charts are more applicable because a flame graph does not have time on the x-axis. Can be found in Firefox and Chrome.

@tmplt
Copy link
Member Author

tmplt commented Dec 7, 2021

To be able to exploit existing tools we'd need to be able to generate perf or DTrace output.

@tmplt
Copy link
Member Author

tmplt commented Jan 5, 2022

orbuculum has some graphical tools we may be able to exploit. Specifically orbtop and orbstat.

@tmplt tmplt changed the title Investigate support for Flame Graphs and similar tools Investigate external tools for graphical representations of traces. Jan 5, 2022
@tmplt tmplt changed the title Investigate external tools for graphical representations of traces. Investigate external tools for graphical representations of traces Jan 5, 2022
@tmplt tmplt added this to the v0.4.0 milestone Jan 13, 2022
@tmplt
Copy link
Member Author

tmplt commented Jan 24, 2022

After a brief look at hotspot and similar tools, it seems like the most ubiquitous profilers are based upon a thread-based execution model with PC samples as the input data. RTIC is based upon exception handlers; PC samples can be generated, but these are not yet supported by RTIC Scope.

The information we want to plot is essentially a single state over time, with some details. The set of data we want to trace is likely to increase as development continues, but at present we'll need to resort to ah-hoc tools to get something useful. E.g. rtic-scope-rtic-racer and orbuculum tools.

@tmplt
Copy link
Member Author

tmplt commented Mar 10, 2022

Some experimental work with Python plotting has been done in 0a8490c.

@tmplt tmplt removed this from the v0.4.0 milestone Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate This issue needs further investigation
Projects
None yet
Development

No branches or pull requests

1 participant