Kconfig 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. config HAVE_USBTRACE
  6. bool
  7. default n
  8. menuconfig USBMONITOR
  9. bool "USB Monitor"
  10. default n
  11. depends on HAVE_USBTRACE
  12. ---help---
  13. If USB device tracing (USBDEV_TRACE) AND/OR USB host tracing
  14. (USBHOST_TRACE) are enabled then this option will select the USB
  15. monitor. The USB monitor is a daemon that will periodically collect
  16. the buffered USB trace data and dump it to the SYSLOG device.
  17. if USBMONITOR
  18. config USBMONITOR_STACKSIZE
  19. int "USB Monitor daemon stack size"
  20. default DEFAULT_TASK_STACKSIZE
  21. ---help---
  22. The stack size to use the USB monitor daemon. Default: 2048
  23. config USBMONITOR_PRIORITY
  24. int "USB Monitor daemon priority"
  25. default 50
  26. ---help---
  27. The priority to use the USB monitor daemon. Default: 50
  28. config USBMONITOR_INTERVAL
  29. int "USB Monitor dump frequency"
  30. default 2
  31. ---help---
  32. The rate in seconds that the USB monitor will wait before dumping
  33. the next set of buffered USB trace data. Default: 2 seconds.
  34. if USBDEV && USBDEV_TRACE
  35. config USBMONITOR_TRACEINIT
  36. bool "Show USB device initialization events"
  37. default n
  38. ---help---
  39. Show initialization events
  40. config USBMONITOR_TRACECLASS
  41. bool "Show USB device class driver events"
  42. default n
  43. ---help---
  44. Show class driver events
  45. config USBMONITOR_TRACETRANSFERS
  46. bool "Show USB device data transfer events"
  47. default n
  48. ---help---
  49. Show data transfer events
  50. config USBMONITOR_TRACECONTROLLER
  51. bool "Show USB device controller events"
  52. default n
  53. ---help---
  54. Show controller events
  55. config USBMONITOR_TRACEINTERRUPTS
  56. bool "Show USB device interrupt-related events"
  57. default n
  58. ---help---
  59. Show interrupt-related events
  60. endif # USBDEV && USBDEV_TRACE
  61. endif # USBMONITOR