tree: e3d4745ed63bb70a95d24fcf30875b8f947f793d [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. android_log.cfg
  4. atrace.cfg
  5. background.cfg
  6. ftrace.cfg
  7. ftrace_largebuffer.cfg
  8. heapprofd.cfg
  9. long_trace.cfg
  10. processes.cfg
  11. summary.cfg
  12. sys_stats.cfg
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'