xref: /aosp_15_r20/external/perfetto/protos/README.md (revision 6dbdd20afdafa5e3ca9b8809fa73465d530080dc)
1*6dbdd20aSAndroid Build Coastguard Worker# Perfetto Protobuf definitions
2*6dbdd20aSAndroid Build Coastguard Worker
3*6dbdd20aSAndroid Build Coastguard WorkerThere are three groups of protos in the respective perfetto/X directories:
4*6dbdd20aSAndroid Build Coastguard Worker
5*6dbdd20aSAndroid Build Coastguard Worker`trace/`: This directory contains all protos that are output-ed by Perfetto
6*6dbdd20aSAndroid Build Coastguard Workerwhen capturing a trace.
7*6dbdd20aSAndroid Build Coastguard Worker
8*6dbdd20aSAndroid Build Coastguard Worker`config/`: This directory contains the configuration passed as input to
9*6dbdd20aSAndroid Build Coastguard Workervarious parts of Perfetto, such as:
10*6dbdd20aSAndroid Build Coastguard Worker  * (i) the whole trace config that the Consumer sends to the Perfetto trace
11*6dbdd20aSAndroid Build Coastguard Worker    daemon.
12*6dbdd20aSAndroid Build Coastguard Worker  * (ii) the per-data-source config that the trace daemon relays to each
13*6dbdd20aSAndroid Build Coastguard Worker    Producer.
14*6dbdd20aSAndroid Build Coastguard Worker  * (iii) the per-data-source descriptor that each Producer advertises to the
15*6dbdd20aSAndroid Build Coastguard Worker    trace daemon when registering.
16*6dbdd20aSAndroid Build Coastguard Worker
17*6dbdd20aSAndroid Build Coastguard Worker`ipc/`: This directory contains the definition of the IPC surface between
18*6dbdd20aSAndroid Build Coastguard Workerthe Perfetto components (Producer, trace daemon and Consumer(s)). This is
19*6dbdd20aSAndroid Build Coastguard Workerrelevant only in some Perfetto build configuration (i.e. in Android but not
20*6dbdd20aSAndroid Build Coastguard Workerin Chrome).
21