tree: 0bdf5104fbcb8465781d478dab18f960863b211d [path history] [tgz]
  1. android_log.cfg
  2. atrace.cfg
  3. background.cfg
  4. bad_config.cfg
  5. bugreport.cfg
  6. BUILD.gn
  7. camera.cfg
  8. client_api.cfg
  9. ftrace.cfg
  10. ftrace_largebuffer.cfg
  11. ftrace_with_filter.cfg
  12. ftrace_with_ksyms.cfg
  13. heapprofd.cfg
  14. java_hprof.cfg
  15. long_trace.cfg
  16. mm_events.cfg
  17. README.md
  18. rss_stat.cfg
  19. scheduling.cfg
  20. scm.cfg
  21. statsd.cfg
  22. summary.cfg
  23. sys_stats.cfg
  24. thermal.cfg
  25. 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'