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