Method and apparatus for facilitating checkpointing of an application through an interceptor library
First Claim
Patent Images
1. A method for checkpointing an application, comprising:
- pre-linking an interceptor library into the application during a run-time invocation of the application, wherein the run-time invocation occurs after the application has been complied and linked;
intercepting a function call produced by the application at the interceptor library;
recording parameters of the function call to create a checkpoint that includes information about the function call parameters;
making the function call;
receiving results of the function call; and
forwarding results of the function call back to the application.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a system for intercepting function calls and recording their parameters to facilitate creating a checkpoint for an application. The system operates by directing function calls to an interceptor library created for the purpose of intercepting the function calls. Functions within this interceptor library record the parameters of the function call, and then make the original call upon receiving the result of the function call. The interceptor library functions forward the results back to the application. In this way, the system records state information without modifying the application or the operating system.
-
Citations
27 Claims
-
1. A method for checkpointing an application, comprising:
-
pre-linking an interceptor library into the application during a run-time invocation of the application, wherein the run-time invocation occurs after the application has been complied and linked;
intercepting a function call produced by the application at the interceptor library;
recording parameters of the function call to create a checkpoint that includes information about the function call parameters;
making the function call;
receiving results of the function call; and
forwarding results of the function call back to the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for checkpointing an application, the method comprising:
-
pre-linking an interceptor library into the application during a run-time invocation of the application, wherein the run-time invocation occurs after the application has been complied and linked;
intercepting a function call produced by the application at the interceptor library;
recording parameters of the function call to create a checkpoint that includes information about the function call parameters;
making the function call;
receiving results of the function call; and
forwarding results of the function call back to the application. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An apparatus that checkpoints an application, comprising:
-
a pre-linking mechanism that is configured to pre-link an interceptor library into the application during a run-time invocation of the application, wherein the run-time invocation occurs after the application has been complied and linked;
an intercepting mechanism within the interceptor library that is configured to intercept a function call produced by the application;
a recording mechanism that is configured to record parameters of the function call to facilitate creating a checkpoint that includes information about the function call parameters;
a calling mechanism that is configured to make the function call;
a receiving mechanism that is configured to receive results of the function call; and
a forwarding mechanism that is configured to forward results of the function call back to the application. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification