tree: 1b32877ff0c5a48b69de947883ba4688fe6ec928 [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. snapshot.cfg
  22. statsd.cfg
  23. summary.cfg
  24. sys_stats.cfg
  25. thermal.cfg
  26. 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'