qcacmn: Trace del reg write, ce tasklet latency, tx, and rx pkts
Use the tracepoints to trace delayed register write, ce tasklet scheduling latency, tx, and rx packets. Change-Id: I63a89276177a9d0466dcb0c831eeb8e938a2bf79 CRs-Fixed: 3081870
This commit is contained in:

committed by
Madan Koyyalamudi

parent
80e882aa2a
commit
de814c9b16
@@ -27,6 +27,7 @@
|
||||
#endif
|
||||
#include "dp_internal.h"
|
||||
#include "hal_tx.h"
|
||||
#include <qdf_tracepoint.h>
|
||||
|
||||
#define DP_INVALID_VDEV_ID 0xFF
|
||||
|
||||
@@ -841,4 +842,16 @@ QDF_STATUS dp_get_uplink_delay(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
|
||||
uint32_t *val);
|
||||
#endif /* WLAN_FEATURE_TSF_UPLINK_TSF */
|
||||
|
||||
/**
|
||||
* dp_tx_pkt_tracepoints_enabled() - Get the state of tx pkt tracepoint
|
||||
*
|
||||
* Return: True if any tx pkt tracepoint is enabled else false
|
||||
*/
|
||||
static inline
|
||||
bool dp_tx_pkt_tracepoints_enabled(void)
|
||||
{
|
||||
return (qdf_trace_dp_tx_comp_tcp_pkt_enabled() ||
|
||||
qdf_trace_dp_tx_comp_udp_pkt_enabled() ||
|
||||
qdf_trace_dp_tx_comp_pkt_enabled());
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user