Changes between Version 16 and Version 17 of kernel_synchro
- Timestamp:
- Sep 11, 2020, 6:43:00 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_synchro
v16 v17 68 68 === F.2 higher level lock debug === 69 69 70 When the DEBUG_QUEUELOCK parameter is set, all ''queuelock_acquire() / queuelock_release()'' made by any thread on a given ''queuelock'' identified by its (cxy,ptr) are traced on the kernel TXT0 terminal. The DEBUG_QUEUELOCK, DEBUG_QUEUELOCK_CXY (cluster identifier) and DEBUG_QUEUELOCK_PTR (queuelock local pointer) parameters are defined in the <kernel_config.h> file.70 When the DEBUG_QUEUELOCK_TYPE parameter is set to a non zero value, all ''queuelock_acquire() / queuelock_release()'' made by any thread on a given ''queuelock'' identified by this type and its (cxy,ptr) pointer are traced on the kernel TXT0 terminal. The DEBUG_QUEUELOCK_TYPE, DEBUG_QUEUELOCK_CXY (cluster identifier) and DEBUG_QUEUELOCK_PTR (queuelock local pointer) parameters are defined in the <kernel_config.h> file. If the DEBUG_QUEUELOCK_CXY and DEBUG_QUEUELOCK_PTR parameters are set to zero, all queuelocks matching the specified type are traced. 71 71 72 When the DEBUG_RWLOCK parameter is set, all ''rwlock_acquire() / rwlock_release()'' made by any thread on a given ''rwlock'' identified by its (cxy,ptr) are traced on the kernel TXT0 terminal. The DEBUG_RWLOCK, DEBUG_RWLOCK_CXY (cluster identifier) and DEBUG_RWLOCK_PTR (rwlock local pointer) parameters are defined in the <kernel_config.h> file.72 When the DEBUG_RWLOCK_TYPE parameter is set to a non zero value, all ''rwlock_acquire() / rwlock_release()'' made by any thread on a given ''rwlock'' identified by this type and its (cxy,ptr) pointer are traced on the kernel TXT0 terminal. The DEBUG_RWLOCK_TYPE, DEBUG_RWLOCK_CXY (cluster identifier) and DEBUG_RWLOCK_PTR (rwlock local pointer) parameters are defined in the <kernel_config.h> file. If the DEBUG_RWLOCK_CXY and DEBUG_RWLOCK_PTR parameters are set to zero, all rwlocks matching the specified type are traced.