perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

Arbitrary hierarchy using protobufs

Open tannery-cerebras opened this issue 3 years ago • 2 comments

I am using using the Perfetto protobuf to generate traces. Ideally, I want to make hierarchies of arbitrary depth where each level of the hierarchy is expandable/collapsable.

Today I can create a hierarchy of process -> threads and the process row is collapsable, however I don't think there is a way to do this with threads.

Is there a way to do this with protobufs today? If not, is it something worth supporting?

tannery-cerebras avatar Apr 21 '23 20:04 tannery-cerebras

The protobuf format already supports arbitrary levels of nesting through the use of parent_uuid. This is really a question of adding arbitrary layers of nesting in the UI: this is something we are looking into adding but I'd not available at the moment.

LalitMaganti avatar Apr 21 '23 22:04 LalitMaganti

Given the more extensive discussion on https://github.com/google/perfetto/issues/651, I'm going to merge this issue into that.

LalitMaganti avatar Dec 06 '23 15:12 LalitMaganti