File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -2504,14 +2504,18 @@ menuconfig TRACE
2504
2504
the kernel will be enabled.
2505
2505
2506
2506
if TRACE
2507
- config TRACE_AUDIO
2508
- bool "Enable tracepoints in audio "
2507
+ config TRACE_APP
2508
+ bool "Enable tracepoints in app "
2509
2509
default n
2510
2510
2511
2511
config TRACE_ARCH
2512
2512
bool "Enable tracepoints in arch"
2513
2513
default n
2514
2514
2515
+ config TRACE_AUDIO
2516
+ bool "Enable tracepoints in audio"
2517
+ default n
2518
+
2515
2519
config TRACE_BOARDS
2516
2520
bool "Enable tracepoints in boards"
2517
2521
default n
@@ -2550,10 +2554,18 @@ config TRACE_GRAPHICS
2550
2554
bool "Enable tracepoints in graphics"
2551
2555
default n
2552
2556
2557
+ config TRACE_INPUT
2558
+ bool "Enable tracepoints in input"
2559
+ default n
2560
+
2553
2561
config TRACE_LIBS
2554
2562
bool "Enable tracepoints in libs"
2555
2563
default n
2556
2564
2565
+ config TRACE_MM
2566
+ bool "Enable tracepoints in mm"
2567
+ default n
2568
+
2557
2569
config TRACE_NET
2558
2570
bool "Enable tracepoints in net"
2559
2571
default n
Original file line number Diff line number Diff line change @@ -293,12 +293,13 @@ enum note_tag_e
293
293
NOTE_TAG_APP ,
294
294
NOTE_TAG_ARCH ,
295
295
NOTE_TAG_AUDIO ,
296
- NOTE_TAG_BOARD ,
296
+ NOTE_TAG_BOARDS ,
297
297
NOTE_TAG_CRYPTO ,
298
298
NOTE_TAG_DRIVERS ,
299
299
NOTE_TAG_FS ,
300
300
NOTE_TAG_GRAPHICS ,
301
301
NOTE_TAG_INPUT ,
302
+ NOTE_TAG_LIBS ,
302
303
NOTE_TAG_MM ,
303
304
NOTE_TAG_NET ,
304
305
NOTE_TAG_SCHED ,
Original file line number Diff line number Diff line change 105
105
# define graphics_trace_end ()
106
106
#endif
107
107
108
+ #ifdef CONFIG_TRACE_INPUT
109
+ # define input_trace_begin () trace_begin(NOTE_TAG_INPUT)
110
+ # define input_trace_end () trace_end(NOTE_TAG_INPUT)
111
+ #else
112
+ # define input_trace_begin ()
113
+ # define input_trace_end ()
114
+ #endif
115
+
108
116
#ifdef CONFIG_TRACE_LIBS
109
117
# define libs_trace_begin () trace_begin(NOTE_TAG_LIBS)
110
118
# define libs_trace_end () trace_end(NOTE_TAG_LIBS)
You can’t perform that action at this time.
0 commit comments