blob: 2e5db5552578d887bdb98f6c6e1683f2924d1ba7 [file] [log] [blame]
Yabin Cuid09d15b2016-12-12 18:18:07 -08001# This configuration is written in python and used by annotate.py.
2
3import os
4
5# A list of profiling record files. By default it only contains perf.data.
6perf_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.
12symfs_dir = "binary_cache"
13
14
15# File path used to find kernel symbols. Set to "" if not available.
16kallsyms = ""
17
18
19# A list of directories used to find source files.
Yabin Cui8d367ac2017-01-05 15:44:08 -080020source_dirs = []
Yabin Cuid09d15b2016-12-12 18:18:07 -080021
22
23# Directory used to output annotated source files.
24annotate_dest_dir = "annotated_files"
25
26
27# Sample Filters
28# Use samples only in threads with selected names.
29comm_filters = []
30# Use samples only in processes with selected process ids.
31pid_filters = []
32# Use samples only in threads with selected thread ids.
33tid_filters = []
34# Use samples only in selected binaries.
35dso_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.
40addr2line_path = "addr2line"