A method and mechanism for managing traces with a computer system having a
plurality of resources is disclosed. One or more conditions can be
established for the computer system. The resources may then be monitored
to determine whether the computer system has reached the one or more
conditions. If so, then the parameters of the traces may be changed
according to the one or more conditions that have been reached.