]> git.baikalelectronics.ru Git - kernel.git/commit
usbmon: add bus number to text API
authorPete Zaitcev <zaitcev@redhat.com>
Tue, 5 Jan 2010 18:50:07 +0000 (11:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:30 +0000 (14:53 -0800)
commitc220a890f2a7a381516831ef5ead90e4607d4245
tree1c76c6d4218ccabb61767953cf53ed3eca260753
parent841290091f370f816ffda598e10783aa3da1d9e8
usbmon: add bus number to text API

Due to a simple oversight when bus zero was added, the text API fails to
deliver the bus number in 'E' messages (which are equivalent of 'C'
messages, only for error case). This makes it harder, for instance,
use a search-and-highlight in a text editor. So fix it.

Also, Alan Stern requested adding timestamps to 'E' messages. This is
purely cosmetic, but makes it easier to read the trace. This is done
for both text and binary APIs.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/mon/mon_bin.c
drivers/usb/mon/mon_text.c