Patent ID: 8453122
Filing Date: 2013-05-28
Classification: G06F

Abstract:
1. A method of testing, comprising: receiving, by a lock testing tool in a symmetric multiprocessing (SMP) information handling system (IHS), a trace buffer size as an argument of a lock trace command; allocating the trace buffer size, by the SMP IHS in response to the receiving by the lock testing tool the trace buffer size, wherein the trace buffer size represents the maximum amount of system memory allocated for the collection of lock trace data; receiving, by the lock testing tool in the SMP IHS, another lock trace command that exhibits an absence of lock data in another argument thereof; interpreting, by the lock testing tool, the absence of lock data in the another argument of the another lock trace command as a directive to perform a lock trace operation on all locks of an executing program; determining, by the lock testing tool when a particular thread of the executing program in the SMP IHS reaches a predetermined spin threshold; and commencing, by the lock testing tool, the lock trace operation in response to the particular thread reaching the predetermined spin threshold; wherein the lock testing tool receives as input a maximum number of traces to capture per time period in the lock trace operation.