Patent ID: 8935675
Filing Date: 2015-01-13
Classification: G06F

Abstract:
1. A method of monitoring execution of a program by a processor to determine whether a tracepoint has occurred, the method comprising: receiving, by a sampling module, a budget cost for monitoring occurrence of a plurality of tracepoints that may occur as a result of operation of a processing device; organizing a plurality of tracepoints into a plurality of buckets such that each of the buckets corresponds to a range of expected interarrival times, and all tracepoints in a bucket have an expected interarrival time that is within the corresponding range for that bucket; assigning a trigger to a first plurality of the bucketed tracepoints to yield a plurality of triggered tracepoints, wherein the triggers are proportionally assigned such that a tracepoint having a low associated expected interarrival time is less likely to be assigned a trigger than an tracepoint having a high associated expected interarrival time, wherein an expected cost of the triggered tracepoints does not exceed the budget cost; and monitoring tracepoint occurrence during a first period of operation of the processing device for occurrence of triggered tracepoints.