Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
BUILD.gn | D | 03-May-2024 | 1.9 KiB | 69 | 60 | |
README.md | D | 03-May-2024 | 503 | 16 | 11 | |
android_log.cfg | D | 03-May-2024 | 1.1 KiB | 57 | 51 | |
atrace.cfg | D | 03-May-2024 | 1.1 KiB | 45 | 42 | |
background.cfg | D | 03-May-2024 | 1.2 KiB | 60 | 53 | |
bad_config.cfg | D | 03-May-2024 | 508 | 29 | 23 | |
camera.cfg | D | 03-May-2024 | 1.7 KiB | 64 | 54 | |
client_api.cfg | D | 03-May-2024 | 289 | 18 | 15 | |
ftrace.cfg | D | 03-May-2024 | 11 KiB | 297 | 290 | |
ftrace_largebuffer.cfg | D | 03-May-2024 | 962 | 40 | 36 | |
ftrace_with_filter.cfg | D | 03-May-2024 | 926 | 37 | 32 | |
ftrace_with_ksyms.cfg | D | 03-May-2024 | 717 | 37 | 32 | |
heapprofd.cfg | D | 03-May-2024 | 411 | 28 | 23 | |
java_hprof.cfg | D | 03-May-2024 | 256 | 18 | 14 | |
long_trace.cfg | D | 03-May-2024 | 1.9 KiB | 62 | 54 | |
mm_events.cfg | D | 03-May-2024 | 2.1 KiB | 69 | 63 | |
scheduling.cfg | D | 03-May-2024 | 1 KiB | 42 | 36 | |
scm.cfg | D | 03-May-2024 | 264 | 18 | 15 | |
summary.cfg | D | 03-May-2024 | 550 | 34 | 28 | |
sys_stats.cfg | D | 03-May-2024 | 2.6 KiB | 92 | 84 | |
thermal.cfg | D | 03-May-2024 | 404 | 22 | 20 | |
traced_perf.cfg | D | 03-May-2024 | 361 | 27 | 23 |
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