Yabin Cui | d09d15b | 2016-12-12 18:18:07 -0800 | [diff] [blame] | 1 | # This configuration is written in python and used by annotate.py. |
| 2 | |
| 3 | import os |
| 4 | |
| 5 | # A list of profiling record files. By default it only contains perf.data. |
| 6 | perf_data_list = ["perf.data"] |
| 7 | |
| 8 | |
| 9 | # Directory used to read binaries with debug info. Ideally, it should be |
| 10 | # set to the path of binary_cache_dir collected by app_profiler.py. |
| 11 | # Set to "" if not available. |
| 12 | symfs_dir = "binary_cache" |
| 13 | |
| 14 | |
| 15 | # File path used to find kernel symbols. Set to "" if not available. |
| 16 | kallsyms = "" |
| 17 | |
| 18 | |
| 19 | # A list of directories used to find source files. |
Yabin Cui | 8d367ac | 2017-01-05 15:44:08 -0800 | [diff] [blame] | 20 | source_dirs = [] |
Yabin Cui | d09d15b | 2016-12-12 18:18:07 -0800 | [diff] [blame] | 21 | |
| 22 | |
| 23 | # Directory used to output annotated source files. |
| 24 | annotate_dest_dir = "annotated_files" |
| 25 | |
| 26 | |
| 27 | # Sample Filters |
| 28 | # Use samples only in threads with selected names. |
| 29 | comm_filters = [] |
| 30 | # Use samples only in processes with selected process ids. |
| 31 | pid_filters = [] |
| 32 | # Use samples only in threads with selected thread ids. |
| 33 | tid_filters = [] |
| 34 | # Use samples only in selected binaries. |
| 35 | dso_filters = [] |
| 36 | |
| 37 | |
| 38 | # We use addr2line to map virtual address to source file and source line. |
| 39 | # So set the path to addr2line here. |
| 40 | addr2line_path = "addr2line" |