4. The method of claim 1 , wherein identifying the ranking among the plurality of families of code entity invocations comprises identifying the ranking based on a rarity of occurrence of the code entity invocations in each family.
1. A method, implemented by one or more processors executing computer-executable instructions stored in a hardware storage device, for performing a search over a trace of program execution, the method comprising: receiving a search expression including one or more search criteria, the search expression being targeted at one or more trace data streams storing a trace of program execution; based on the one or more search criteria, identifying a plurality of families of code entity invocations, each family identifying a plurality of code entity invocations that are related to each other, the plurality of code entity invocations being identified based on the one or more trace data streams; identifying a ranking among the plurality of families of code entity invocations; and based at least on the identified ranking among the plurality of families of code entity invocations, returning a set of code entity invocations determined to meet the one or more search criteria, wherein the set of code entity invocations is ordered by a relevance determined based at least on the ranking among the plurality of families.