ath5k: add driver tracepoints
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ath5k: log descriptor chains at a new debug leveldrivers/ drivers/ | +5 | 1 reply | |
| 2/3 | ath5k: use tracing for packet tx/rx dumpdrivers/ drivers/ drivers/ +1 more | +105 | 0 replies | |
| 3/3 | ath5k: trace resetsdrivers/ drivers/ drivers/ +2 more | +70 | 9 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Bruno Randolf |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH/RFC 0/3] ath5k: add driver tracepoints
This series adds some tracepoints for reset and tx/rx, with an eye toward replacing some of the debug printks we have today. Stolen form iwlwifi is the idea of logging entire packets so we can generate pcap files from the traces, via something like:
$ mkdir -p ~/.trace-cmd/plugins
$ cd ~/.trace-cmd/plugins
$ wget 'http://bobcopeland.com/srcs/ath5k_trace.py'
$ trace-cmd record -e mac80211 -e ath5k sleep 500
$ trace-cmd report | less
$ wireshark /tmp/pcap.outI quite like the result, but I'd be interested to hear others' opinions on the approach. Right now I think these tracepoints will be useful in seeing causes of excessive resets, and debugging queue hangs.