summaryrefslogtreecommitdiff
path: root/apps/system/usbmonitor/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-09 15:02:33 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-09 15:02:33 -0600
commit91becdb75746f65f27d6e87bd8d3d9f926ddbefe (patch)
treef1a77cb8abe7b31cea329a0ef13897a88bf27645 /apps/system/usbmonitor/Kconfig
parent845f1694727937478ab8487d2b7a2150ad0cc858 (diff)
downloadnuttx-91becdb75746f65f27d6e87bd8d3d9f926ddbefe.tar.gz
nuttx-91becdb75746f65f27d6e87bd8d3d9f926ddbefe.tar.bz2
nuttx-91becdb75746f65f27d6e87bd8d3d9f926ddbefe.zip
USB monitor extended so that it can also be used with USB host trace data
Diffstat (limited to 'apps/system/usbmonitor/Kconfig')
-rw-r--r--apps/system/usbmonitor/Kconfig23
1 files changed, 13 insertions, 10 deletions
diff --git a/apps/system/usbmonitor/Kconfig b/apps/system/usbmonitor/Kconfig
index bb784b299..6b298309e 100644
--- a/apps/system/usbmonitor/Kconfig
+++ b/apps/system/usbmonitor/Kconfig
@@ -6,12 +6,12 @@
config SYSTEM_USBMONITOR
bool "USB Monitor"
default n
- depends on USBDEV && USBDEV_TRACE
+ depends on (USBDEV && USBDEV_TRACE) || (USBHOST && USBHOST_TRACE)
---help---
- If USB device tracing is enabled (USBDEV_TRACE), 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 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
@@ -34,34 +34,37 @@ config SYSTEM_USBMONITOR_INTERVAL
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 initialization events"
+ bool "Show USB device initialization events"
default n
---help---
Show initialization events
config SYSTEM_USBMONITOR_TRACECLASS
- bool "Show class driver events"
+ bool "Show USB device class driver events"
default n
---help---
Show class driver events
config SYSTEM_USBMONITOR_TRACETRANSFERS
- bool "Show data transfer events"
+ bool "Show USB device data transfer events"
default n
---help---
Show data transfer events
config SYSTEM_USBMONITOR_TRACECONTROLLER
- bool "Show controller events"
+ bool "Show USB device controller events"
default n
---help---
Show controller events
config SYSTEM_USBMONITOR_TRACEINTERRUPTS
- bool "Show interrupt-related events"
+ bool "Show USB device interrupt-related events"
default n
---help---
Show interrupt-related events
+
+endif
endif