Skip to content

ath5k: add driver tracepoints

Bob Copeland linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ath5k: log descriptor chains at a new debug leveldrivers/net/wireless/ath/ath5k/debug.c drivers/net/wireless/ath/ath5k/debug.h+5 -21 reply
2/3ath5k: use tracing for packet tx/rx dumpdrivers/net/wireless/ath/ath5k/ath5k_trace.h drivers/net/wireless/ath/ath5k/base.c drivers/net/wireless/ath/ath5k/debug.c +1 more+105 -280 replies
3/3ath5k: trace resetsdrivers/net/wireless/ath/ath5k/ath5k_trace.h drivers/net/wireless/ath/ath5k/base.c drivers/net/wireless/ath/ath5k/base.h +2 more+70 -459 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBruno Randolf
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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.out

I 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.