Messages in this thread | | | Date | Thu, 7 Nov 2019 11:19:07 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH v3 2/3] usb, kcov: collect coverage from hub_event |
| |
On Tue, Oct 29, 2019 at 05:32:28PM +0100, Andrey Konovalov wrote: > This patch adds 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. > > Signed-off-by: Andrey Konovalov <andreyknvl@google.com> > --- > drivers/usb/core/hub.c | 5 +++++ > 1 file changed, 5 insertions(+)
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |