tannery-cerebras
tannery-cerebras
Thanks for the quick response! I tried using async events (b/e events), but the output was not desirable; it gave me one row per 'id' field. I guess I could...
Thanks! A lot of the [examples](https://cs.android.com/android/platform/superproject/+/master:external/perfetto/examples/sdk/README.md) I found were for visualizing the application when run. I am using the view to display how some MLIR _might_ run: static performance analysis....
Ah, the fix was to add the flow_id to the end `TraceEvent` as well, I was only adding it to the "start" event.
So if I currently create 1 track per thread like so: ```c++ auto* thread = trace.pb.add_packet(); thread->set_trusted_packet_sequence_id(1); auto* trackDesc = thread->mutable_track_descriptor(); trackDesc->set_uuid(getThreadUUID(tid)); trackDesc->mutable_thread()->set_pid(hid); trackDesc->mutable_thread()->set_tid(tid); trackDesc->mutable_thread()->set_thread_name(threadNames[tid]); ``` where `tid` is some...
Sorry for not being clear and I really do appreciate your help. The structure I have is as follows: - Physical machines (modelled in perfetto as processes) - Threads on...
Thanks for the detailed response! Through experimentation I kind of got there myself too, so glad it was confirmed. This works fine, but I have a few more problems that...
> Maybe it has something to do with the fact that the parent of your "events" tracks is a thread and not a process? This was indeed the problem. I...
I refactored my code to create multiple tracks for a given thread on-demand and the output looks great. I can deal with the extra row for the process, although it'd...