qcacmn: Add detection for tasklet delay

This feature is used to detect CE tasklet scheduling delay
and credit response delay issues.

Change-Id: I9a8fcb425edd5cf96fae5f6cd3bfc7f51172c814
CRs-Fixed: 2874874
This commit is contained in:
Jingxiang Ge
2021-02-05 12:45:50 +08:00
committed by snandini
parent f4729e7ebf
commit 2c6d25c0ad
9 changed files with 404 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2016, 2018-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2016, 2018-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -65,6 +65,20 @@ static inline void qdf_timer_start(qdf_timer_t *timer, int msec)
__qdf_timer_start(timer, msec);
}
/**
* qdf_timer_start_on() - start a timer on assigned cpu
* @timer: timer to start
* @msec: Expiration period in milliseconds
* @cpu: cpu to attach timer
*
*
* Return: none
*/
static inline void qdf_timer_start_on(qdf_timer_t *timer, int msec, int cpu)
{
__qdf_timer_start_on(timer, msec, cpu);
}
/**
* qdf_timer_mod() - modify the timeout on a timer
* @timer: timer to modify