android13/external/perfetto/test/configs
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
BUILD.gn initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
android_log.cfg initial 2024-06-22 20:45:49 +08:00
atrace.cfg initial 2024-06-22 20:45:49 +08:00
background.cfg initial 2024-06-22 20:45:49 +08:00
bad_config.cfg initial 2024-06-22 20:45:49 +08:00
camera.cfg initial 2024-06-22 20:45:49 +08:00
client_api.cfg initial 2024-06-22 20:45:49 +08:00
ftrace.cfg initial 2024-06-22 20:45:49 +08:00
ftrace_largebuffer.cfg initial 2024-06-22 20:45:49 +08:00
ftrace_with_filter.cfg initial 2024-06-22 20:45:49 +08:00
ftrace_with_ksyms.cfg initial 2024-06-22 20:45:49 +08:00
heapprofd.cfg initial 2024-06-22 20:45:49 +08:00
java_hprof.cfg initial 2024-06-22 20:45:49 +08:00
long_trace.cfg initial 2024-06-22 20:45:49 +08:00
mm_events.cfg initial 2024-06-22 20:45:49 +08:00
rss_stat.cfg initial 2024-06-22 20:45:49 +08:00
scheduling.cfg initial 2024-06-22 20:45:49 +08:00
scm.cfg initial 2024-06-22 20:45:49 +08:00
summary.cfg initial 2024-06-22 20:45:49 +08:00
sys_stats.cfg initial 2024-06-22 20:45:49 +08:00
thermal.cfg initial 2024-06-22 20:45:49 +08:00
traced_perf.cfg initial 2024-06-22 20:45:49 +08:00

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'