ROCm / omnitrace

Omnitrace: Application Profiling, Tracing, and Analysis
https://rocm.docs.amd.com/projects/omnitrace/en/latest/
MIT License
299 stars 27 forks source link

[Documentation]: Fix User API Example #341

Open jrmadsen opened 6 months ago

jrmadsen commented 6 months ago

Description of errors

Code provided here needs to be compiled with debug symbols in order to produce a valid perfetto trace. It needs to be noted in compilation section above and a note needs to be made about this issue until Dyninst is updated.

Without debug symbols, it appears that the loop exit instrumentation gets corrupted and the user is left with a trace where none of the last trace entries end on the main thread.

Attach any links, screenshots, or additional evidence you think will be helpful.

No response

ppanchad-amd commented 3 weeks ago

Hi @jrmadsen. I have filed an internal ticket with the docs team to assist with this ticket. Thanks!