qcacmn: Add support to invoke debug function before assert
qdf assert always, assert without debug information. Added support to dump needed information before assert. Change-Id: I19898ec11c1bade4340cf1737a760d9507012f12 CRs-Fixed: 3480596
This commit is contained in:
@@ -91,6 +91,14 @@ typedef __qdf_wait_queue_head_t qdf_wait_queue_head_t;
|
||||
*/
|
||||
#define qdf_assert_always(expr) __qdf_assert(expr)
|
||||
|
||||
/**
|
||||
* qdf_assert_with_debug - invoke function to dump needed info before assert
|
||||
* @expr: expression to test
|
||||
* @debug_fp: function pointer to be invoked for debugging
|
||||
*/
|
||||
#define qdf_assert_with_debug(expr, debug_fp, ...) \
|
||||
__qdf_assert_with_debug(expr, debug_fp, ...)
|
||||
|
||||
/**
|
||||
* qdf_target_assert_always - always target assert "expr" evaluates to false.
|
||||
* @expr: expression to test
|
||||
|
مرجع در شماره جدید
Block a user