ANDROID: usb: export tracepoint for usb gadget connect/disconnect

There are two tracepoints in usb_gadget_connect() and
usb_gadget_disconnect(). This patch will export the tracepoints so that
vendor modules can use them.

Bug: 189130101

Change-Id: I73ace6ad7a29a835431879162cb5e5ff3d6b2239
Signed-off-by: fengmingli <mingli.feng@vivo.com>
This commit is contained in:
fengmingli 2021-06-01 15:56:49 +08:00 committed by Greg Kroah-Hartman
commit 6f33bce13a

View file

@ -8,3 +8,6 @@
#define CREATE_TRACE_POINTS
#include "trace.h"
EXPORT_TRACEPOINT_SYMBOL_GPL(usb_gadget_connect);
EXPORT_TRACEPOINT_SYMBOL_GPL(usb_gadget_disconnect);