summaryrefslogtreecommitdiff
path: root/apps/system/usbmonitor/Kconfig
blob: 6b298309e99911658e630bb06b63bedf19612d61 (plain) (blame)
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
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config SYSTEM_USBMONITOR
	bool "USB Monitor"
	default n
	depends on (USBDEV && USBDEV_TRACE) || (USBHOST && USBHOST_TRACE)
	---help---
		If USB device tracing (USBDEV_TRACE) AND/OR USB host tracing
		(USBHOST_TRACE) are enabled then this option will select the USB
		monitor.  The USB monitor is a daemon that will periodically collect
		the buffered USB trace data and dump it to the SYSLOG device.

if SYSTEM_USBMONITOR

config SYSTEM_USBMONITOR_STACKSIZE
	int "USB Monitor daemon stack size"
	default 2048
	---help---
		The stack size to use the the USB monitor daemon.  Default: 2048

config SYSTEM_USBMONITOR_PRIORITY
	int "USB Monitor daemon priority"
	default 50
	---help---
		The priority to use the the USB monitor daemon.  Default: 50

config SYSTEM_USBMONITOR_INTERVAL
	int "USB Monitor dump frequency"
	default 2
	---help---
		The rate in seconds that the USB monitor will wait before dumping
		the next set of buffered USB trace data.  Default:  2 seconds.

if USBDEV && USBDEV_TRACE
config SYSTEM_USBMONITOR_TRACEINIT
	bool "Show USB device initialization events"
	default n
	---help---
		Show initialization events

config SYSTEM_USBMONITOR_TRACECLASS
	bool "Show USB device class driver events"
	default n
	---help---
		Show class driver events

config SYSTEM_USBMONITOR_TRACETRANSFERS
	bool "Show USB device data transfer events"
	default n
	---help---
		Show data transfer events

config SYSTEM_USBMONITOR_TRACECONTROLLER
	bool "Show USB device controller events"
	default n
	---help---
		Show controller events

config SYSTEM_USBMONITOR_TRACEINTERRUPTS
	bool "Show USB device interrupt-related events"
	default n
	---help---
		Show interrupt-related events

endif
endif