diff options
author | Bin Liu <b-liu@ti.com> | 2016-06-30 20:12:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-07-17 02:23:57 +0300 |
commit | c74173fdd4fba23f237af48dff95f613f011cee3 (patch) | |
tree | ed3800e7250aeadb11c488e57061e59f24b16780 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 086b288282884437cd588893d4501a8bbe4eb78c (diff) | |
download | linux-c74173fdd4fba23f237af48dff95f613f011cee3.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions