A method of recording diagnostic trace information is disclosed. According
to one embodiment, a method is provided in which metadata corresponding
to each of a set of events that are subject to tracing is stored, wherein
the metadata indicates how useful each of the events is in determining a
root cause of a failure. This metadata is used to vary an apportionment
of a memory among the events. Diagnostic trace information is then stored
within the memory according to the apportionment.