diff options
| author | Pete Zaitcev <zaitcev@redhat.com> | 2008-12-04 18:17:00 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-17 13:49:12 -0500 |
| commit | aacf4a0135a330e68df412a6797a9b9689d8d9a3 (patch) | |
| tree | 9f0d7e17a79b853f83d19a052d7c75caa0caa421 | |
| parent | 7c12414955e9b44a3e33d54e578bf008caa4475d (diff) | |
usbmon: drop bogus 0t from usbmon.txt
The example is incorrect: there is no 0t socket (the '1t' format has no
bus number in it). Also, correct the broken sentence for USB Tag.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| -rw-r--r-- | Documentation/usb/usbmon.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/usb/usbmon.txt b/Documentation/usb/usbmon.txt index 2917ce4ffdc4..270481906dc8 100644 --- a/Documentation/usb/usbmon.txt +++ b/Documentation/usb/usbmon.txt | |||
| @@ -34,11 +34,12 @@ if usbmon is built into the kernel. | |||
| 34 | Verify that bus sockets are present. | 34 | Verify that bus sockets are present. |
| 35 | 35 | ||
| 36 | # ls /sys/kernel/debug/usbmon | 36 | # ls /sys/kernel/debug/usbmon |
| 37 | 0s 0t 0u 1s 1t 1u 2s 2t 2u 3s 3t 3u 4s 4t 4u | 37 | 0s 0u 1s 1t 1u 2s 2t 2u 3s 3t 3u 4s 4t 4u |
| 38 | # | 38 | # |
| 39 | 39 | ||
| 40 | Now you can choose to either use the sockets numbered '0' (to capture packets on | 40 | Now you can choose to either use the socket '0u' (to capture packets on all |
| 41 | all buses), and skip to step #3, or find the bus used by your device with step #2. | 41 | buses), and skip to step #3, or find the bus used by your device with step #2. |
| 42 | This allows to filter away annoying devices that talk continuously. | ||
| 42 | 43 | ||
| 43 | 2. Find which bus connects to the desired device | 44 | 2. Find which bus connects to the desired device |
| 44 | 45 | ||
| @@ -99,8 +100,9 @@ on the event type, but there is a set of words, common for all types. | |||
| 99 | 100 | ||
| 100 | Here is the list of words, from left to right: | 101 | Here is the list of words, from left to right: |
| 101 | 102 | ||
| 102 | - URB Tag. This is used to identify URBs is normally a kernel mode address | 103 | - URB Tag. This is used to identify URBs, and is normally an in-kernel address |
| 103 | of the URB structure in hexadecimal. | 104 | of the URB structure in hexadecimal, but can be a sequence number or any |
| 105 | other unique string, within reason. | ||
| 104 | 106 | ||
| 105 | - Timestamp in microseconds, a decimal number. The timestamp's resolution | 107 | - Timestamp in microseconds, a decimal number. The timestamp's resolution |
| 106 | depends on available clock, and so it can be much worse than a microsecond | 108 | depends on available clock, and so it can be much worse than a microsecond |
