summaryrefslogtreecommitdiff
path: root/drivers/misc/Kconfig.stm
blob: d509c85c79f013932bae6a78344ab36940866022 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
menuconfig STM_TRACE
	bool "STM MIPI Trace driver"
	depends on ARCH_U8500
	help
	  Simple System Trace Module driver. It allows to use and configure the
	  STM, either from kernel space, or from user space.

if STM_TRACE

config STM_NUMBER_OF_CHANNEL
	int
	default 512 if ARCH_U8500
	default 256
	help
	  Number Max of channels always a multiple of 256

config STM_DEFAULT_MASTERS_MODES
	hex "channel mode"
	default 0xffffffff
	help
	  Default config for enabling hardware mode tracing

config STM_PRINTK
	bool "printk support"
	depends on STM_TRACE
	help
	  Duplicate printk output on STM printk channel & activate stm_printk

config STM_PRINTK_CHANNEL
	int "printk channel"
	range 0 255
	depends on STM_PRINTK
	default 255
	help
	  STM printk channel number

config STM_FTRACE
	bool "functions tracing"
	depends on FTRACE
	default y
	help
	  Output function tracing on STM dedicated channel

config STM_FTRACE_CHANNEL
	int "ftrace channel"
	range 0 255
	depends on STM_FTRACE
	default 254
	help
	  STM ftrace channel number

config STM_CTX_SWITCH
	bool "Context switch tracing"
	depends on CONTEXT_SWITCH_TRACER
	default y
	help
	  Output scheduler context switch on STM dedicated channel

config STM_CTX_SWITCH_CHANNEL
	int "Context switch channel"
	range 0 255
	depends on STM_CTX_SWITCH
	default 253
	help
	  STM Context switch channel number

config STM_WAKEUP
	bool "Scheduler wakeup tracing"
	depends on CONTEXT_SWITCH_TRACER
	default y
	help
	  Output scheduler wakeup on STM dedicated channel

config STM_WAKEUP_CHANNEL
	int "Wakeup channel"
	range 0 255
	depends on STM_WAKEUP
	default 252
	help
	  STM scheduler wakeup channel number

config STM_STACK_TRACE
	bool "Stack tracing"
	depends on STACKTRACE
	default y
	help
	  Output stack tracing on STM dedicated channel

config STM_STACK_TRACE_CHANNEL
	int "Stack trace channel"
	range 0 255
	depends on STM_STACK_TRACE
	default 251
	help
	  STM stack trace channel number

config STM_TRACE_PRINTK
	bool "trace printk & binary printk support"
	depends on TRACING
	default y
	help
	  Duplicate trace printk output on STM printk channel

config STM_TRACE_PRINTK_CHANNEL
	int "trace_printk channel"
	range 0 255
	depends on TRACING
	default 250
	help
	  STM trace_printk channel number

config STM_TRACE_BPRINTK_CHANNEL
	int "trace_bprintk channel"
	range 0 255
	depends on TRACING
	default 249
	help
	  STM trace binary printk channel number

endif