Patent ID: 8549505

Claim:
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, wherein sampling information in a shared library is acquired when a profiling target process is executed upon interrupts while a plurality of processes are executed on a virtual storage system and the shared library is executed, and wherein the sampling information in the shared library is acquired when a process identifier upon the interrupt matches a process identifier for the profiling target process while the plurality of processes are executed on the virtual storage system and the shared library is executed.