perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

Configure TrackEvent in UI

Open rickvanprim opened this issue 4 years ago • 4 comments

It would be helpful to be able to configure one or more TrackEvent data sources in the Perfetto UI. Ideally the UI would have the option to query the current set of Producers to get a list of available processes, categories, and tags, and an easy way to filter accordingly.

Currently to use TrackEvent data sources, the trace must be executed outside of the UI in order to supply a handwritten TraceConfig.

rickvanprim avatar Jul 22 '21 17:07 rickvanprim

@octaviantu is working on improving the recording page with some of these features (getting the list of producers + allowing that to be used to filter the recording UI) once that's done somebody else will have to pick up the UI work for the TrackEvent recording tab specifically.

@ddrone @betasheet @altimin Seems very in your wheel house :)

chromy avatar Jul 11 '22 15:07 chromy

Agree, this should definitely be on our radar :) Technically, the querying described by @rickvanprim should be possible after @octaviantu's improvements. We can already query the track event data source descriptor with available categories from the service. We'd probably want to extend it such that it also specifies available tags.

betasheet avatar Jul 28 '22 12:07 betasheet

Would be great having the ability to configure track events from the UI. Currently we are forced to write the config separately and invoke from the terminal.

santisan avatar Nov 15 '24 16:11 santisan

@primiano maybe you can fix this as part of your look again into recording?

LalitMaganti avatar Nov 15 '24 16:11 LalitMaganti

Folding this into https://github.com/google/perfetto/issues/2155 which is much nicer written version of this request.

LalitMaganti avatar Jul 14 '25 17:07 LalitMaganti