Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
BUILD.gn | D | 23-Nov-2023 | 1.3 KiB | 51 | 44 | |
README.md | D | 22-Nov-2023 | 503 | 16 | 11 | |
android_log.cfg | D | 23-Nov-2023 | 1.1 KiB | 57 | 51 | |
atrace.cfg | D | 23-Nov-2023 | 1.1 KiB | 45 | 42 | |
background.cfg | D | 23-Nov-2023 | 1.2 KiB | 60 | 53 | |
ftrace.cfg | D | 23-Nov-2023 | 11 KiB | 290 | 284 | |
ftrace_largebuffer.cfg | D | 23-Nov-2023 | 962 | 40 | 36 | |
heapprofd.cfg | D | 23-Nov-2023 | 411 | 28 | 23 | |
long_trace.cfg | D | 23-Nov-2023 | 1.7 KiB | 58 | 50 | |
processes.cfg | D | 22-Nov-2023 | 1.5 KiB | 58 | 53 | |
summary.cfg | D | 23-Nov-2023 | 550 | 34 | 28 | |
sys_stats.cfg | D | 23-Nov-2023 | 2.6 KiB | 92 | 84 |
README.md
1# Configs 2 3This directory contains a number of perfetto TraceConfigs in human readable 4form for easier testing. Each file is serialized into the protobuf format at 5build time. For example the file `ftrace.cfg` is serialized to 6`out/some_gn_config/ftrace.cfg.protobuf`. 7 8## Example 9 10```bash 11$ adb push out/some_gn_config/ftrace.cfg.protobuf /data/local/tmp 12$ adb push out/some_gn_config/perfetto /data/local/tmp 13$ adb shell 'cd /data/local/tmp && ./perfetto -c ftrace_cfg.protobuf -o out.protobuf' 14``` 15 16