liiir1985 7f62dcda9f | ||
---|---|---|
.. | ||
BUILD.gn | ||
README.md | ||
android_log.cfg | ||
atrace.cfg | ||
background.cfg | ||
bad_config.cfg | ||
camera.cfg | ||
client_api.cfg | ||
ftrace.cfg | ||
ftrace_largebuffer.cfg | ||
ftrace_with_filter.cfg | ||
ftrace_with_ksyms.cfg | ||
heapprofd.cfg | ||
java_hprof.cfg | ||
long_trace.cfg | ||
mm_events.cfg | ||
rss_stat.cfg | ||
scheduling.cfg | ||
scm.cfg | ||
summary.cfg | ||
sys_stats.cfg | ||
thermal.cfg | ||
traced_perf.cfg |
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'