• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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.
20source_dirs = []
21
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"