@@ -19,7 +19,12 @@ if TRACING
19
19
20
20
choice
21
21
prompt "Tracing Format"
22
- default TRACING_CTF
22
+ default TRACING_NONE
23
+
24
+ config TRACING_NONE
25
+ bool "No tracing format selected"
26
+ help
27
+ None of the available tracing formats is selected.
23
28
24
29
config SEGGER_SYSTEMVIEW
25
30
bool "Segger SystemView support"
@@ -34,10 +39,18 @@ config TRACING_SYSTEMVIEW
34
39
35
40
config TRACING_CTF
36
41
bool "Tracing via Common Trace Format support"
37
-
38
42
help
39
43
Enable tracing to a Common Trace Format stream.
40
44
45
+ config TRACING_CPU_STATS
46
+ bool "Enable CPU usage tracing"
47
+ help
48
+ Module provides information about percent of CPU usage based on
49
+ tracing hooks for threads switching in and out, interrupts enters
50
+ and exits (only distinguishes between idle thread, non idle thread
51
+ and scheduler). Use provided API or enable automatic logging to
52
+ get values.
53
+
41
54
config TRACING_TEST
42
55
bool "Tracing for test usage"
43
56
help
@@ -55,6 +68,19 @@ config TRACING_CTF_TIMESTAMP
55
68
Timestamp prefix will be added to the beginning of CTF
56
69
event internally.
57
70
71
+ config TRACING_CPU_STATS_LOG
72
+ bool "Enable current CPU usage logging"
73
+ depends on TRACING_CPU_STATS
74
+ help
75
+ Periodically displays information about CPU usage.
76
+
77
+ config TRACING_CPU_STATS_INTERVAL
78
+ int "Logging interval for CPU measurements [ms]"
79
+ default 2000
80
+ depends on TRACING_CPU_STATS_LOG
81
+ help
82
+ Time period of displaying information about CPU usage.
83
+
58
84
59
85
choice
60
86
prompt "Tracing Method"
@@ -175,28 +201,4 @@ config TRACING_ISR
175
201
176
202
endif
177
203
178
- config TRACING_CPU_STATS
179
- bool "Enable CPU usage tracing"
180
- select TRACING
181
- help
182
- Module provides information about percent of CPU usage based on
183
- tracing hooks for threads switching in and out, interrupts enters
184
- and exits (only distinguishes between idle thread, non idle thread
185
- and scheduler). Use provided API or enable automatic logging to
186
- get values.
187
-
188
- config TRACING_CPU_STATS_LOG
189
- bool "Enable current CPU usage logging"
190
- depends on TRACING_CPU_STATS
191
- help
192
- Periodically displays information about CPU usage.
193
-
194
- config TRACING_CPU_STATS_INTERVAL
195
- int "Logging interval for CPU measurements [ms]"
196
- default 2000
197
- depends on TRACING_CPU_STATS_LOG
198
- help
199
- Time period of displaying information about CPU usage.
200
-
201
-
202
204
source "subsys/tracing/sysview/Kconfig"
0 commit comments