]> 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)
commitda279db9bf86a67d6f8a5d2a73dc70ece07d67ed
treeda2dcda944323ace923023bf6c569d6901e321e9
parent44f46dafef90929ee13ab85af257af722d2c29dc
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