diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2021-03-24 18:53:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-26 14:35:41 +0100 |
commit | 3fc63d0724bbac83352456e073c113b24115576f (patch) | |
tree | 8bbc3c42670f2cf81d77f88e0dc7ac0291ea5840 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 601144568ce09f0ca47834ce6cb535cd1cb70b55 (diff) |
usb: dwc3: trace: Print register read and write offset
Currently dwc3 only prints the virtual address of a register when doing
register read/write. However, these hashed addresses are difficult to read.
Also, since we use %p, we may get some useless (___ptrval___) prints if the
address is not randomized enough. Let's include the register offset to help
read the register read and write tracepoints.
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/cb38aa7dec109a8965691b53039a8b317d026189.1616636706.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions