File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 18
18
#include <linux/sched/mm.h>
19
19
#include <linux/list.h>
20
20
#include <linux/slab.h>
21
+ #include <linux/kcov.h>
21
22
#include <linux/ioctl.h>
22
23
#include <linux/usb.h>
23
24
#include <linux/usbdevice_fs.h>
@@ -5484,6 +5485,8 @@ static void hub_event(struct work_struct *work)
5484
5485
hub_dev = hub -> intfdev ;
5485
5486
intf = to_usb_interface (hub_dev );
5486
5487
5488
+ kcov_remote_start_usb ((u64 )hdev -> bus -> busnum );
5489
+
5487
5490
dev_dbg (hub_dev , "state %d ports %d chg %04x evt %04x\n" ,
5488
5491
hdev -> state , hdev -> maxchild ,
5489
5492
/* NOTE: expects max 15 ports... */
@@ -5590,6 +5593,8 @@ static void hub_event(struct work_struct *work)
5590
5593
/* Balance the stuff in kick_hub_wq() and allow autosuspend */
5591
5594
usb_autopm_put_interface (intf );
5592
5595
kref_put (& hub -> kref , hub_release );
5596
+
5597
+ kcov_remote_stop ();
5593
5598
}
5594
5599
5595
5600
static const struct usb_device_id hub_id_table [] = {
You can’t perform that action at this time.
0 commit comments