Mutex reports
The PThread mutex is similar to an AIX simple lock in that only one thread can acquire the lock, and is like an AIX complex lock in that it can be held recursively.
[PThread MUTEX] ADDRESS: 00000000F0154CD0
Parent Thread: 0000000000000001 creation time: 26.232305
Pid: 18396 Process Name: trcstop
Creation call-chain ==================================================================
00000000D268606C .pthread_mutex_lock
00000000D268EB88 .pthread_once
00000000D01FE588 .__libs_init
00000000D01EB2FC ._libc_inline_callbacks
00000000D01EB280 ._libc_declare_data_functions
00000000D269F960 ._pth_init_libc
00000000D268A2B4 .pthread_init
00000000D01EAC08 .__modinit
000000001000014C .__start
======================================================================================
| | | Percent Held ( 26.235284s )
Acqui- | Miss Spin Wait Busy | Secs Held | Real Real Comb Real
sitions | Rate Count Count Count |CPU Elapsed | CPU Elapsed Spin Wait
1 | 0.000 0 0 0 |0.000006 0.000006 | 0.00 0.00 0.00 0.00
--------------------------------------------------------------------------------------
Depth Min Max Avg
SpinQ 0 0 0
WaitQ 0 0 0
Recursion 0 1 0
Acqui- Miss Spin Wait Busy Percent Held of Total Time
PThreadID sitions Rate Count Count Count CPU Elapse Spin Wait
~~~~~~~~~~ ~~~~~~~~ ~~~~~~ ~~~~~~ ~~~~~~ ~~~~~~ ~~~~~~ ~~~~~~ ~~~~~~ ~~~~~~
1 1 0.00 0 0 0 0.00 0.00 0.00 0.00
Acqui- Miss Spin Wait Busy Percent Held of Total Time
Function Name sitions Rate Count Count Count CPU Elapse Spin Wait Return Address Start Address Offset
^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
.pthread_once 0 0.00 0 0 0 99.99 99.99 0.00 0.00 00000000D268EC98 00000000D2684180 0000AB18
.pthread_once 1 0.00 0 0 0 0.01 0.01 0.00 0.00 00000000D268EB88 00000000D2684180 0000AA08
In addition to the common header information and the [PThread MUTEX]
identifier, this report lists the following lock details:
Item | Descriptor |
---|---|
Parent Thread | Pthread id of the parent pthread. |
creation time | Elapsed time in seconds after the first event recorded in trace (if available). |
deletion time | Elapsed time in seconds after the first event recorded in trace (if available). |
PID | Process identifier. |
Process Name | Name of the process using the lock. |
Call-chain | Stack of called methods (if available). |
Acquisitions | The number of times that the lock was acquired in the analysis interval. |
Miss Rate | The percentage of attempts that failed to acquire the lock. |
Spin Count | The number of unsuccessful attempts to acquire the lock. |
Wait Count | The number of times that a thread was forced into a suspended wait state waiting for the lock to come available. |
Busy Count | The number of trylock calls that returned busy. |
Seconds Held | This field contains the
following sub-fields:
|
Percent Held | This field contains the
following sub-fields:
|
Depth | This field contains the
following sub-fields:
|