1config KERNEL_TRACE 2 bool "Enable Trace Feature" 3 default n 4 select DEBUG_HOOK 5 6config TRACE_MSG_EXTEND 7 bool "Enable Record more extended content" 8 default n 9 depends on KERNEL_TRACE 10 11config TRACE_FRAME_CORE_MSG 12 bool "Record cpuid, hardware interrupt status, task lock status" 13 default n 14 depends on TRACE_MSG_EXTEND 15 16config TRACE_FRAME_EVENT_COUNT 17 bool "Record event count, which indicate the sequence of happened events" 18 default n 19 depends on TRACE_MSG_EXTEND 20 21config TRACE_FRAME_MAX_PARAMS 22 int "Record max params" 23 default 3 24 depends on KERNEL_TRACE 25 help 26 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 27 28choice 29 prompt "Trace work mode" 30 default RECORDER_MODE_OFFLINE 31 depends on KERNEL_TRACE 32 33config RECORDER_MODE_ONLINE 34 bool "Online mode" 35 select TRACE_CLIENT_INTERACT 36 37config RECORDER_MODE_OFFLINE 38 bool "Offline mode" 39 40endchoice 41 42config TRACE_BUFFER_SIZE 43 int "Trace record buffer size" 44 default 2048 45 depends on RECORDER_MODE_OFFLINE 46 47config TRACE_CLIENT_INTERACT 48 bool "Enable Trace Client Visualization and Control" 49 default n 50 depends on KERNEL_TRACE 51 52choice 53 prompt "Trace Pipeline for Data Transmission" 54 depends on TRACE_CLIENT_INTERACT 55 56config TRACE_PIPELINE_SERIAL 57 bool "Via Serial" 58 59endchoice 60 61choice 62 prompt "Trace Control" 63 default TRACE_CONTROL_VIA_SHELL 64 depends on TRACE_CLIENT_INTERACT 65 help 66 If you wish to control Trace's start/stop etc.,dynamically by Trace Client. 67 68config TRACE_CONTROL_VIA_SHELL 69 bool "Via Shell" 70 select LOSCFG_SHELL 71 72config TRACE_CONTROL_AGENT 73 bool "Via Trace Agent Task" 74 75endchoice