Home | History | Annotate | Download | only in configs
      1 # Configs
      2 
      3 This directory contains a number of perfetto TraceConfigs in human readable
      4 form for easier testing. Each file is serialized into the protobuf format at
      5 build time.  For example the file `ftrace.cfg` is serialized to
      6 `out/some_gn_config/ftrace.cfg.protobuf`.
      7 
      8 ## Example
      9 
     10 ```bash
     11 $ adb push out/some_gn_config/ftrace.cfg.protobuf /data/local/tmp
     12 $ adb push out/some_gn_config/perfetto /data/local/tmp
     13 $ adb shell 'cd /data/local/tmp && ./perfetto -c ftrace_cfg.protobuf -o out.protobuf'
     14 ```
     15 
     16