tree: 74b727aca3e9cd413e34aeaca4e6d2b8afd1366d [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. scheduling.cfg
  18. scm.cfg
  19. summary.cfg
  20. sys_stats.cfg
  21. thermal.cfg
  22. 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'