Managing traces to capture data for memory regions in a memory
AssigneeInternational Business Machines Corporation
InventorsNeal E. Bohling, Joseph V. Malinowski, David C. Reed, Max D. Smith
Life of this patent
Estimating the term…
Abstract
Provided are a computer program product, system, and method for managing traces to capture data for memory regions in a memory. A trace includes a monitor parameter used by a trace procedure to monitor data in a memory device. A frequency is determined at which the trace procedure monitors the memory device. The trace procedure is invoked at the determined frequency to perform trace procedure operations comprising determining a region in the memory device according to the monitor parameter and copying data in the determined region to trace data in a data space.
Claims25
A computer program for capturing data stored in a memory device, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
- receiving settings for a plurality of traces each including a monitor parameter used by a trace procedure to monitor data in the memory device;
- and
- for each of the traces, performing:
- determining a frequency at which the trace procedure monitors the memory device;
- and
- invoking a trace procedure at the determined frequency to perform trace procedure operations comprising:
- determining a region in the memory device according to the monitor parameter;
- and
- copying data in the determined region to trace data in a data space,
- wherein the invoked trace procedures operate concurrently for multiple active traces to capture data in different regions of the memory device.
A computer program for capturing data stored in a memory device, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
- receiving a setting of a trace including a monitor parameter used by a trace procedure to monitor data in the memory device, wherein the monitor parameter specifies an access type;
- determining a frequency at which the trace procedure monitors the memory device;
- and
- invoking the trace procedure at the determined frequency to perform trace procedure operations comprising:
- determining a region in the memory device according to the monitor parameter;
- copying data in the determined region to trace data in a data space;
- detecting an access to the memory device of the access type;
- and
- indicating in a monitor list an address range of the memory device subject to the detected access of the access type, wherein the determined region comprises each address range indicated in the monitor list.
A system, comprising:
- a processor;
- a memory device in data communication with the processor;
- a computer program in the memory device executed by the processor to perform operations, the operations comprising:
- receiving settings for a plurality of traces each including a monitor parameter used by a trace procedure to monitor data in the memory device;
- and
- for each of the traces, performing:
- determining a frequency at which the trace procedure monitors the memory device;
- and
- invoking a trace procedure at the determined frequency to perform trace procedure operations comprising:
- determining a region in the memory device according to the monitor parameter;
- and
- copying data in the determined region to trace data in a data space,
- wherein the invoked trace procedures operate concurrently for multiple active traces to capture data in different regions of the memory device.
A system, comprising:
- a processor;
- a memory device in data communication with the processor;
- and
- a computer program in the memory device executed by the processor to perform operations, the operations comprising:
- receiving a setting of a trace including a monitor parameter used by a trace procedure to monitor data in the memory device, wherein the monitor parameter specifies an access type;
- determining a frequency at which the trace procedure monitors the memory device;
- and
- invoking the trace procedure at the determined frequency to perform trace procedure operations comprising:
- determining a region in the memory device according to the monitor parameter;
- copying data in the determined region to trace data in a data space;
- detecting an access to the memory device of the access type;
- and
- indicating in a monitor list an address range of the memory device subject to the detected access of the access type, wherein the determined region comprises each address range indicated in the monitor list.
A method, comprising:
- receiving settings for a plurality of traces each including a monitor parameter used by a trace procedure to monitor data in a memory device;
- and
- for each of the traces, performing:
- determining a frequency at which the trace procedure monitors the memory device;
- and
- invoking the trace procedure at the determined frequency to perform trace procedure operations comprising:
- determining a region in the memory device according to the monitor parameter;
- and
- copying data in the determined region to trace data in a data space,
- wherein the invoked trace procedures operate concurrently for multiple active traces to capture data in different regions of the memory device.
A method, comprising:
- receiving a setting of a trace including a monitor parameter used by a trace procedure to monitor data in the memory device, wherein the monitor parameter specifies an access type;
- determining a frequency at which the trace procedure monitors the memory device;
- and
- invoking the trace procedure at the determined frequency to perform trace procedure operations comprising:
- determining a region in the memory device according to the monitor parameter;
- copying data in the determined region to trace data in a data space;
- detecting an access to the memory device of the access type;
- and
- indicating in a monitor list an address range of the memory device subject to the detected access of the access type, wherein the determined region comprises each address range indicated in the monitor list.
Dependencies are inferred from the claim text.