-
Notifications
You must be signed in to change notification settings - Fork 41
/
Kconfig.projbuild
57 lines (47 loc) · 1.5 KB
/
Kconfig.projbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
menu "ADF Library Configuration"
config MEDIA_PROTOCOL_LIB_ENABLE
bool "Enable Media Protocol Library"
default "y"
config MEDIA_LIB_MEM_AUTO_TRACE
bool "Support trace memory automatically after media_lib_sal init"
default "n"
config MEDIA_LIB_MEM_TRACE_DEPTH
int
prompt "Memory trace stack depth" if MEDIA_LIB_MEM_AUTO_TRACE
depends on MEDIA_LIB_MEM_AUTO_TRACE
default 3
help
Set memory trace depth
config MEDIA_LIB_MEM_TRACE_NUM
int
prompt "Memory trace number" if MEDIA_LIB_MEM_AUTO_TRACE
depends on MEDIA_LIB_MEM_AUTO_TRACE
default 1024
help
Set memory trace number
config MEDIA_LIB_MEM_TRACE_MODULE
bool "Trace for module memory usage"
depends on MEDIA_LIB_MEM_AUTO_TRACE
default y
config MEDIA_LIB_MEM_TRACE_LEAKAGE
depends on MEDIA_LIB_MEM_AUTO_TRACE
bool "Trace for memory leakage"
default y
config MEDIA_LIB_MEM_TRACE_SAVE_HISTORY
bool "Trace to save memory history"
depends on MEDIA_LIB_MEM_AUTO_TRACE
default n
config MEDIA_LIB_MEM_SAVE_CACHE_SIZE
int
prompt "Cache buffer size to store save history" if MEDIA_LIB_MEM_TRACE_SAVE_HISTORY
depends on MEDIA_LIB_MEM_TRACE_SAVE_HISTORY
default 32768
help
Set cache size for memory history
config MEDIA_LIB_MEM_TRACE_SAVE_PATH
string "Memory trace save path" if MEDIA_LIB_MEM_TRACE_SAVE_HISTORY
depends on MEDIA_LIB_MEM_TRACE_SAVE_HISTORY
default "/sdcard/trace.log"
help
Set memory trace save path
endmenu