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