usb: musb: add tracepoints support for debugging
To avoid printk() overhead while debugging, this patch implements the foundation of tracepoints logging for musb driver to make debug easier. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ca2b6faeb9
commit
f89252ad19
@@ -42,6 +42,8 @@
|
||||
#define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args)
|
||||
#define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args)
|
||||
|
||||
void musb_dbg(struct musb *musb, const char *fmt, ...);
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
int musb_init_debugfs(struct musb *musb);
|
||||
void musb_exit_debugfs(struct musb *musb);
|
||||
|
Reference in New Issue
Block a user