Patent ID: 7437716

Claim:
A method for storing data, comprising: encountering a probe during execution of an instrumented program, wherein the probe is associated with a first enabled probe identification (EPID) and a second EPID and wherein the first EPID is associated with a first action and the second EPID is associated with a second action; executing the first action upon encountering the probe to obtain first data and executing the second action to obtain second data; storing the first data and the first EPID in a first per-consumer buffer; storing a first metadata and the first EPID in a first per-consumer metadata table, wherein the first metadata defines a layout of the first data stored in the first per-consumer buffer, and wherein the first per-consumer buffer and the first per-consumer metadata table are accessible by a first consumer; storing the second data and the second EPID in a second per-consumer buffer; and storing a second metadata and the second EPID in a second per-consumer metadata table, wherein the second metadata defines a layout of the second data stored in the second per-consumer buffer, and wherein the second per-consumer buffer and the second per-consumer metadata table are accessible by a second consumer.