Searched hist:c74173fdd4fba23f237af48dff95f613f011cee3 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_trace.h | diff c74173fdd4fba23f237af48dff95f613f011cee3 Thu Jun 30 12:12:24 CDT 2016 Bin Liu <b-liu@ti.com> usb: musb: add tracepoints for register access
This adds tracepoints to musb register read/write wrappers to get trace log for register access.
The default tacepoint log prefix here would be musb_readX/writeX(), which is not much helpful. So this patch let the tracepoints use __buildin_return_address(0) to print the caller funciton name to provide more context of the register access.
Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | musb_core.c | diff c74173fdd4fba23f237af48dff95f613f011cee3 Thu Jun 30 12:12:24 CDT 2016 Bin Liu <b-liu@ti.com> usb: musb: add tracepoints for register access
This adds tracepoints to musb register read/write wrappers to get trace log for register access.
The default tacepoint log prefix here would be musb_readX/writeX(), which is not much helpful. So this patch let the tracepoints use __buildin_return_address(0) to print the caller funciton name to provide more context of the register access.
Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|