diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2006-06-09 20:10:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:17 -0700 |
commit | 5b1c674d223eef6c6494be8be91e9e3a3054817e (patch) | |
tree | 4f7cbbc36d90ec00cd9f958b62cbfc87f550f34f /drivers/usb/mon/usb_mon.h | |
parent | 4bc203d997c0dc1eada4cc9681372c2f7a456c46 (diff) | |
download | lwn-5b1c674d223eef6c6494be8be91e9e3a3054817e.tar.gz lwn-5b1c674d223eef6c6494be8be91e9e3a3054817e.zip |
[PATCH] USB: update usbmon, fix glued lines
This update contains one bug fix: some lines can come out truncated,
because of the safety cutoff. This happened because I forgot to update
the size when status packets began to be printed.
The rest is:
- Comments updates
- Allow snooping with pkmap on x86_64, which is cache-coherent
- Enlarge event buffers (certainly we can have a couple of pages)
- Add event counter
First touch upon usbmon for 2.6.18.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/mon/usb_mon.h')
-rw-r--r-- | drivers/usb/mon/usb_mon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/mon/usb_mon.h b/drivers/usb/mon/usb_mon.h index 8e0613c350cc..92702835b1e5 100644 --- a/drivers/usb/mon/usb_mon.h +++ b/drivers/usb/mon/usb_mon.h @@ -27,6 +27,7 @@ struct mon_bus { struct kref ref; /* Under mon_lock */ /* Stats */ + unsigned int cnt_events; unsigned int cnt_text_lost; }; |