tree: f0aa517fe5ae68cab8f6a1f319ba04913738bf5e [path history] [tgz]
  1. atrace.cfg
  2. BUILD.gn
  3. ftrace.cfg
  4. long_trace.cfg
  5. README.md
test/configs/README.md

Configs

This directory contains a number of perfetto TraceConfigs in human readable form for easier testing. Each file is serialized into the protobuf format at build time. For example the file ftrace.cfg is serialized to out/some_gn_config/ftrace.cfg.protobuf.

Example

$ adb push out/some_gn_config/ftrace.cfg.protobuf /data/local/tmp
$ adb push out/some_gn_config/perfetto /data/local/tmp
$ adb shell 'cd /data/local/tmp && ./perfetto -c ftrace_cfg.protobuf -o out.protobuf'