A method and mechanism for utilizing a meta-language to define and analyze
traces is disclosed. A set of trace format grammars can be defined for
traces. Each trace format grammar is preferably compliant with guidelines
for a meta-language grammar. The trace format grammars can be examined to
form a suitable analyzing mechanism, such as a parser, to analyze the
traces.