]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: handle ieee80211 header and payload tracing separately
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 5 Nov 2014 13:44:31 +0000 (19:14 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 17 Nov 2014 14:38:31 +0000 (16:38 +0200)
commit9a5b1740ea24339964d4987b126ef12516343620
treeda2dcda944323ace923023bf6c569d6901e321e9
parentd7ef714d4cd1615a3c7199f5a43fe93230818ac3
ath10k: handle ieee80211 header and payload tracing separately

For packet log, the transmitted frame 802.11 header alone is sufficient.
Recording entire packet is also consuming lot of disk space. To optimize
this, tx and rx data tracepoints are splitted into header and payload
tracepoints.

To record tx ieee80211 headers

     trace-cmd record -e ath10k_tx_hdr

To record complete packets

     trace-cmd record -e ath10k_tx_hdr -e ath10k_tx_payload

Cc: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/trace.h
drivers/net/wireless/ath/ath10k/wmi.c