Files
msm-5.15/drivers/usb/gadget/udc/trace.c
fengmingli a6ebc737af 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>
(cherry picked from commit 6f33bce13afc7691719009456c896720bc960bfb)
2022-04-28 03:08:04 +00:00

14 lines
341 B
C

// SPDX-License-Identifier: GPL-2.0
/*
* trace.c - USB Gadget Framework Trace Support
*
* Copyright (C) 2016 Intel Corporation
* Author: Felipe Balbi <felipe.balbi@linux.intel.com>
*/
#define CREATE_TRACE_POINTS
#include "trace.h"
EXPORT_TRACEPOINT_SYMBOL_GPL(usb_gadget_connect);
EXPORT_TRACEPOINT_SYMBOL_GPL(usb_gadget_disconnect);