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:
parent
0c811ab6f7
commit
6f33bce13a
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue