aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2021-06-04 11:05:36 +0300
committerGreg Kroah-Hartman <[email protected]>2021-06-14 10:25:16 +0200
commit318324e6df9787f8ec06660224f555471c8f36d1 (patch)
treeb222a78dde6e3226163904442ad25682c8c1f857 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parente2ff8815f3d4dc082d60e261d3f8c80896ad4078 (diff)
usb: musb: Implement tracing for state change events
The devctl register on musb is the only way to get state information on musb. The hardware can easily get confused because it tries to do things on it's own automagically, and things like slow VBUS rise can make things fail. Let's make it easier to debug the ongoing state change issues that keep popping up on regular basis and add tracing support. With these changes we can easily trace musb state change events with: echo 1 > /sys/kernel/debug/tracing/events/musb/musb_state/enable cat /sys/kernel/debug/tracing/trace_pipe echo 0 > /sys/kernel/debug/tracing/events/musb/musb_state/enable Cc: Alexandre Belloni <[email protected]> Cc: Andreas Kemnade <[email protected]> Cc: Bhushan Shah <[email protected]> Cc: Drew Fustini <[email protected]> Cc: Thomas Petazzoni <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions