Collection driver for collecting system data using record based requests with tag lists and pausing all but one thread of a computer system
First Claim
1. A collection driver program product for accessing data of named executable modules of an operating system executing on a target machine, the operating system having version information, the collection driver program product comprising computer readable code stored on computer readable media, the computer readable code comprising code for:
- receiving an input record list from the requestor containing records describing data to be captured;
suspending execution of all threads running on the target machine except the collection driver program;
interpreting the input record list and collecting operating system data specified by the input record list into a capture buffer;
restarting execution of the suspended threads; and
transmitting the capture buffer to the requestor.
4 Assignments
0 Petitions
Accused Products
Abstract
A method for parsing a linked list to extract data therefrom includes the step of constructing a record list having a list element descriptor descriptive of data to be retrieved from a linked list. The method also includes the steps of following a list head locator of the list element descriptor to a head of the linked list, following links to a node of the linked list, interpreting a tag of the list element descriptor to locate data of the node, and extracting data from the node.
-
Citations
13 Claims
-
1. A collection driver program product for accessing data of named executable modules of an operating system executing on a target machine, the operating system having version information, the collection driver program product comprising computer readable code stored on computer readable media, the computer readable code comprising code for:
-
receiving an input record list from the requestor containing records describing data to be captured;
suspending execution of all threads running on the target machine except the collection driver program;
interpreting the input record list and collecting operating system data specified by the input record list into a capture buffer;
restarting execution of the suspended threads; and
transmitting the capture buffer to the requestor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A collection driver for collecting data from memory of a computer system comprising computer readable media having recorded therein computer readable code for:
-
receiving a record list, the record list comprising at least a first list element descriptor descriptive of data to be retrieved from a first linked list;
suspending execution of threads running on the computer system except the collection driver;
following a list head locator of the list element descriptor to a head of the first linked list;
following links of the head of the first linked list to a first node of the linked list;
interpreting at least one tag of the first list element descriptor to locate data of the node;
extracting data from the node; and
restarting execution of the suspended threads automatically upon completing the extracting. - View Dependent Claims (9)
the record list further comprises a second list element descriptor descriptive of data to be retrieved from a second linked list, and wherein a node of the first list contains a head of the second list; and
the computer readable code further comprises code for;
following a list head locator of the second list element descriptor to a second list head of the node of the first linked list;
following links of the second list head to a node of the second linked list; and
extracting data from the second linked list.
-
-
10. A method of debugging a computer, comprising:
-
running a collection driver on the computer;
receiving with the collection driver an input record list;
using a first operating system call to suspend execution of all processes and threads other than the collection driver running on computer;
capturing a snapshot of the computer based on the input record list;
upon completion of the capturing, using a second operating system call to restart execution of the suspended processes and threads, whereby operation of the computer is only interrupted for a period of time required to complete the capturing. - View Dependent Claims (11, 12, 13)
following a list head locator of the list element descriptor to a head of the first linked list;
following links of the head of the first linked list to a first node of the linked list;
interpreting at least one tag of the first list element descriptor to locate data of the node; and
extracting data from the node.
-
Specification