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)
commit5ce8e7fdcc7a89f7d51065c92708f2a2234fdf41
treeda2dcda944323ace923023bf6c569d6901e321e9
parent707b1bbd7e6ec533cfa027054ccbeb90113a40b0
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