Patent ID: 7493526

Claim:
A computer-implementable method comprising: acquiring control of a trace facility for debugging a host channel adapter implemented in a logical partitioning environment; setting trace parameters for said host channel adapter; in response to determining a trace event that matches said trace parameters has been triggered, retrieving trace information from a buffer; in response to determining said buffer does not contain any more said trace information, determining if modification of said trace parameters is required; in response to determining modification of said trace parameters is required, altering said trace parameters in anticipation of another said trace event; in response to determining modification of said trace parameters is not required, rearming said trace facility for a subsequent trace; in response to determining a subsequent trace is required, rearming said trace facility for said subsequent trace; in response to determining a subsequent trace is not required, disabling said trace facility; and in response to determining said trace facility is not available, returning an “in-use” condition to a logical partition invoking use of said tracing facility.