tree: f7159eb3cb14058ee722a2636f6cde350d249d6a [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. ftrace_with_filter.cfg
  11. ftrace_with_ksyms.cfg
  12. heapprofd.cfg
  13. java_hprof.cfg
  14. long_trace.cfg
  15. mm_events.cfg
  16. README.md
  17. rss_stat.cfg
  18. scheduling.cfg
  19. scm.cfg
  20. summary.cfg
  21. sys_stats.cfg
  22. thermal.cfg
  23. 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'