tree: 63953afca4b8bea1256b792dc34a36e3b65b1016 [path history] [tgz]
  1. android_log.cfg
  2. atrace.cfg
  3. background.cfg
  4. bad_config.cfg
  5. BUILD.gn
  6. camera.cfg
  7. client_api.cfg
  8. ftrace.cfg
  9. ftrace_largebuffer.cfg
  10. heapprofd.cfg
  11. java_hprof.cfg
  12. long_trace.cfg
  13. processes.cfg
  14. README.md
  15. summary.cfg
  16. sys_stats.cfg
  17. traced_perf.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'