1. 原kernel/common目录下属于内核拓展组件,统一移入kernel/extend管理 2. Kconfig分层,各模块自己的配置放到自己目录下管理 3. 原platform下不属于平台的公共代码抽到kernel/common下,只留板级链接脚本和一些编译脚本指向device目录下触发平台相关的编译 4. 对外公共头文件统一抽到对外include路径 5. 废弃宏,头文件清理 close: #I48KI4 Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I0cf5ea81c92a8fa7b113da9cbdc8b7bc935f5aae
78 lines
1.8 KiB
Plaintext
78 lines
1.8 KiB
Plaintext
config KERNEL_TRACE
|
|
bool "Enable Trace Feature"
|
|
default n
|
|
depends on KERNEL_HOOK
|
|
|
|
config TRACE_MSG_EXTEND
|
|
bool "Enable Record more extended content"
|
|
default n
|
|
depends on KERNEL_TRACE
|
|
|
|
config TRACE_FRAME_CORE_MSG
|
|
bool "Record cpuid, hardware interrupt status, task lock status"
|
|
default n
|
|
depends on TRACE_MSG_EXTEND
|
|
|
|
config TRACE_FRAME_EVENT_COUNT
|
|
bool "Record event count, which indicate the sequence of happend events"
|
|
default n
|
|
depends on TRACE_MSG_EXTEND
|
|
|
|
config TRACE_FRAME_MAX_PARAMS
|
|
int "Record max params"
|
|
default 3
|
|
depends on KERNEL_TRACE
|
|
help
|
|
Make sure the max value is bigger than the number defined by each #MODULE#_#TYPE#_PARMAS in los_trace.h, e.g. TASK_SWITCH_PARAMS
|
|
|
|
choice
|
|
prompt "Trace work mode"
|
|
default RECORDER_MODE_OFFLINE
|
|
depends on KERNEL_TRACE
|
|
|
|
config RECORDER_MODE_ONLINE
|
|
bool "Online mode"
|
|
select TRACE_CLIENT_INTERACT
|
|
|
|
config RECORDER_MODE_OFFLINE
|
|
bool "Offline mode"
|
|
|
|
endchoice
|
|
|
|
config TRACE_BUFFER_SIZE
|
|
int "Trace record buffer size"
|
|
default 10000
|
|
depends on RECORDER_MODE_OFFLINE
|
|
|
|
config TRACE_CLIENT_INTERACT
|
|
bool "Enable Trace Client Visualization and Control"
|
|
default n
|
|
depends on KERNEL_TRACE
|
|
|
|
choice
|
|
prompt "Trace Pipeline for Data Transmission"
|
|
depends on TRACE_CLIENT_INTERACT
|
|
|
|
config TRACE_PIPELINE_SERIAL
|
|
bool "Via Serial"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Trace Control"
|
|
default TRACE_CONTROL_VIA_SHELL
|
|
depends on TRACE_CLIENT_INTERACT
|
|
help
|
|
If you wish to control Trace's start/stop etc.,dynamically by Trace Client.
|
|
|
|
config TRACE_CONTROL_VIA_SHELL
|
|
bool "Via Shell"
|
|
select LOSCFG_SHELL
|
|
|
|
config TRACE_CONTROL_AGENT
|
|
bool "Via Trace Agent Task"
|
|
|
|
config TRACE_NO_CONTROL
|
|
bool "No Control"
|
|
|
|
endchoice |