alistair23-linux/drivers/usb
Andrey Konovalov 95d23dc27b usb, kcov: collect coverage from hub_event
Add kcov_remote_start()/kcov_remote_stop() annotations to the
hub_event() function, which is responsible for processing events on USB
buses, in particular events that happen during USB device enumeration.

Since hub_event() is run in a global background kernel thread (see
Documentation/dev-tools/kcov.rst for details), each USB bus gets a
unique global handle from the USB subsystem kcov handle range.  As the
result kcov can now be used to collect coverage from events that happen
on a particular USB bus.

[akpm@linux-foundation.org: avoid patch conflicts to make life easier for Andrew]
Link: http://lkml.kernel.org/r/de4fe1c219db2d002d905dc1736e2a3bfa1db997.1572366574.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Alexander Potapenko <glider@google.com>
Cc: Anders Roxell <anders.roxell@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Windsor <dwindsor@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Marco Elver <elver@google.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-04 19:44:14 -08:00
..
atm
c67x00
cdns3 USB: changes for v5.5 2019-11-18 08:24:12 +01:00
chipidea usb: chipidea: imx: pinctrl for HSIC is optional 2019-11-18 17:40:27 +08:00
class compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
common
core usb, kcov: collect coverage from hub_event 2019-12-04 19:44:14 -08:00
dwc2 USB: changes for v5.5 2019-11-18 08:24:12 +01:00
dwc3 usb: dwc3: Fix Kconfig indentation 2019-11-21 14:39:39 +01:00
early
gadget compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
host pci-v5.5-changes 2019-12-03 13:58:22 -08:00
image
isp1760
misc usb: misc: Fix Kconfig indentation 2019-11-21 14:39:40 +01:00
mon
mtu3
musb usb: musb: create debugfs directory under usb root 2019-11-21 18:20:29 +01:00
phy
renesas_usbhs
roles
serial usb: serial: Fix Kconfig indentation 2019-11-21 14:39:41 +01:00
storage SCSI misc on 20191130 2019-12-02 13:37:02 -08:00
typec usb: typec: tcpm: Remove tcpc_config configuration mechanism 2019-11-16 14:45:31 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c