Profiling method, system, and recording medium having a profiling program
AssigneeFujitsu Microelectronics Limited
InventorShigeru KIMURA
Life of this patent
Estimating the term…
Abstract
A profiling method executed by a computer and system including generating a source code by adding a call instruction for a profile acquisition function to a source program of an application, generating an execution form of a profiling target program by linking a library of profile acquisition functions to the source code, executing the profiling target program in an operating system of a target system, calling a profile acquisition driver by executing the call instruction of the profile acquisition function via the library of the profile acquisition functions, and acquiring sampling information on an execution status of the profiling target program based on an interrupt occurrence by the profile acquisition driver.
Claims17
A profiling method executed by a computer, the profiling method comprising:
- generating a source code by adding a call instruction for a profile acquisition function to a source program of an application;
- generating an execution form of a profiling target program by linking a library of profile acquisition functions to the source code;
- executing the profiling target program in an operating system of a target system;
- calling a profile acquisition driver by executing the call instruction of the profile acquisition function via the library of the profile acquisition functions;
- and
- acquiring sampling information on an execution status of the profiling target program based on an interrupt occurrence by the profile acquisition driver.
A computer-readable recording medium adapted to store a program for causing a computer to execute an operation including profiling, comprising:
- executing an execution form of a profiling target program to which a call instruction for a profile acquisition function is embedded and a library of profile acquisition functions is linked in an operating system of a target system;
- calling a profile acquisition driver by executing the call instruction for the profile acquisition function via the library of profile acquisition functions;
- and
- acquiring sampling information on an execution status of the profiling target program based on an occurrence of an interrupt via the profile acquisition driver.
Dependencies are inferred from the claim text.