2016-06-30 20:24:33 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2020-02-08 08:30:09 +01:00
|
|
|
config HAVE_USBTRACE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2020-02-15 14:38:35 +01:00
|
|
|
menuconfig USBMONITOR
|
|
|
|
bool "USB Monitor"
|
|
|
|
default n
|
|
|
|
depends on HAVE_USBTRACE
|
|
|
|
---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.
|
|
|
|
|
2020-02-08 08:30:09 +01:00
|
|
|
if USBMONITOR
|
|
|
|
|
2016-06-30 20:24:33 +02:00
|
|
|
config USBMONITOR_STACKSIZE
|
|
|
|
int "USB Monitor daemon stack size"
|
2020-04-17 18:25:31 +02:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2016-06-30 20:24:33 +02:00
|
|
|
---help---
|
2017-05-11 21:35:56 +02:00
|
|
|
The stack size to use the USB monitor daemon. Default: 2048
|
2016-06-30 20:24:33 +02:00
|
|
|
|
|
|
|
config USBMONITOR_PRIORITY
|
|
|
|
int "USB Monitor daemon priority"
|
|
|
|
default 50
|
|
|
|
---help---
|
2017-05-11 21:35:56 +02:00
|
|
|
The priority to use the USB monitor daemon. Default: 50
|
2016-06-30 20:24:33 +02:00
|
|
|
|
|
|
|
config 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 USBMONITOR_TRACEINIT
|
|
|
|
bool "Show USB device initialization events"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Show initialization events
|
|
|
|
|
|
|
|
config USBMONITOR_TRACECLASS
|
|
|
|
bool "Show USB device class driver events"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Show class driver events
|
|
|
|
|
|
|
|
config USBMONITOR_TRACETRANSFERS
|
|
|
|
bool "Show USB device data transfer events"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Show data transfer events
|
|
|
|
|
|
|
|
config USBMONITOR_TRACECONTROLLER
|
|
|
|
bool "Show USB device controller events"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Show controller events
|
|
|
|
|
|
|
|
config USBMONITOR_TRACEINTERRUPTS
|
|
|
|
bool "Show USB device interrupt-related events"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Show interrupt-related events
|
|
|
|
|
|
|
|
endif # USBDEV && USBDEV_TRACE
|
2020-02-08 08:30:09 +01:00
|
|
|
|
|
|
|
endif # USBMONITOR
|