Supercharge Your Innovation With Domain-Expert AI Agents!

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

A virtual machine and context technology, applied in electrical digital data processing, instrumentation, error detection/correction, etc., can solve problems such as increasing tracking and analysis time

Inactive Publication Date: 2012-02-01
IBM CORP
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This results in increased tracking and analysis time and tracking information that may not be as precise as would otherwise be obtainable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Time Based Context Sampling of Trace Data with Support for Multiple Virtual Machines
  • Time Based Context Sampling of Trace Data with Support for Multiple Virtual Machines
  • Time Based Context Sampling of Trace Data with Support for Multiple Virtual Machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The illustrative embodiments provide mechanisms for providing time-based contextual sampling of trace data supporting multiple virtual machines. Utilizing this mechanism of the illustrative embodiments, multiple virtual machine execution environments may be sampled simultaneously using multiple sampler threads associated with individual processors accessing individual virtual machines. Also, a mechanism is provided for waking up each of these sampler threads and for determining what trace data or information (if any) to obtain. Thus, every time there is an interrupt or other event that causes a call to a device driver that needs to sample trace information, each sampling thread in the profiler is woken up, and based on the state of the executing thread when the sampling thread was woken up, the retrieved Trace information and store it in a trace data file for a specific thread.

[0025] The determination as to what trace data to obtain and whether to obtain any trace d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Mechanisms for time based context sampling of trace data with support for multiple virtual machines are provided. In response to the occurrence of an event, a plurality of sampling threads associated with a plurality of executing threads executing on processors of a data processing system are awakened. For each sampling thread, an execution state of a corresponding executing thread is determined with regard to one or more virtual machines of interest. For each sampling thread, based on the execution state of the corresponding executing thread, a determination is made whether to retrieve trace information from a virtual machine of interest associated with the corresponding executing thread. For each sampling thread, in response to a determination that trace information is to be retrieved from a virtual machine of interest associated with the corresponding executing thread, the trace information is retrieved from the virtual machine.

Description

technical field [0001] The present application generally relates to an improved data processing apparatus and method, and more particularly to a mechanism for supporting time-based contextual sampling of trace data for multiple virtual machines. Background technique [0002] In analyzing and enhancing the performance of data processing systems and applications executing within the data processing systems, it is beneficial to know which software modules within the data processing systems are using system resources. Effective management and enhancement of data processing systems requires knowing how and when to use various system resources. Performance tools are used to monitor and inspect data processing systems to determine resource consumption while various software applications are executing within the data processing resources. For example, performance tools can identify the most frequently executed modules and instructions in a data processing system, or can identify th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34G06F11/36
CPCG06F11/3466G06F11/3612
Inventor F.E.莱文K.凯珀
Owner IBM CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More