×

Time Based Context Sampling of Trace Data with Support for Multiple Virtual Machines

  • US 20100333071A1
  • Filed: 06/30/2009
  • Published: 12/30/2010
  • Est. Priority Date: 06/30/2009
  • Status: Abandoned Application
First Claim
Patent Images

1. A method, in a data processing system, for performing time-based context sampling for profiling an execution of computer code in the data processing system, the method comprising:

  • in response to the occurrence of an event, waking a plurality of sampling threads associated with a plurality of executing threads executing on processors of the data processing system;

    determining, by a processor of the data processing system, for each sampling thread, an execution state of a corresponding executing thread with regard to one or more virtual machines of interest;

    determining, by the processor, for each sampling thread, based on the execution state of the corresponding executing thread, whether to retrieve trace information from a virtual machine associated with the corresponding executing thread; and

    for each sampling thread, in response to a determination that trace information is to be retrieved from a virtual machine associated with the corresponding executing thread, retrieving the trace information from the virtual machine and storing the trace information in a storage device associated with the data processing system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×