Patents
US 9,965,375 B2#27215318 Most CitedActiveUnited States (USPTO)Utility

Virtualizing precise event based sampling

4Forward Citations (#27215318 Global)
0.5/yrCitation Velocity (#16369989 Global)
1.07Citation PageRank (#37718378 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A core includes a memory buffer and executes an instruction within a virtual machine. A processor tracer captures trace data and formats the trace data as trace data packets. An event-based sampler generates field data for a sampling record in response to occurrence of an event of a certain type as a result of execution of the instruction. The processor tracer, upon receipt of the field data: formats the field data into elements of the sampling record as a group of record packets; inserts the group of record packets between the trace data packets as a combined packet stream; and stores the combined packet stream in the memory buffer as a series of output pages. The core, when in guest profiling mode, executes a virtual machine monitor to map output pages of the memory buffer to host physical pages of main memory using multilevel page tables.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A processor comprising: a core having a memory buffer and that is to execute an instruction within a virtual machine, wherein the core executes a virtual machine monitor (VMM) to manage the virtual machine and further comprises: a processor tracer including first circuitry to capture trace data produced by execution of the instruction and to format the trace data as a plurality of trace data packets; an event-based sampler including second circuitry to generate field data for elements of a sampling record in response to occurrence of an event of a certain type as a result of execution of the i

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,020,471 AInterrupt scan and processing system for a data processing system197734
US 4,787,031 AComputer with virtual machine mode and multiple protection rings1988144
US 5,668,994 AConversation management routine for co-operative processing applications199716
US 6,092,180 AMethod for measuring latencies by randomly selected sampling of the instructions while the instruction are executed2000136
US 6,266,789 B1Deep trace memory system for a protocol analyzer200170
US 6,513,155 B1Method and system for merging event-based data and sampled data into postprocessed trace output2003127
US 2003131039 A1System, method, and computer program product for preserving trace data after partition crash in logically partitioned systems—21
US 6,738,965 B1Trace information in a virtual machine200447
US 6,961,806 B1System and method for detecting access to shared structures and for maintaining coherence of derived structures in virtualized multiprocessor systems2005149
US 2005268158 A1Method and apparatus to eliminate interpartition covert storage channel and partition analysis—12
US 2005268075 A1Multiple branch predictions—104
US 2005273310 A1Enhancements to performance monitoring architecture for critical path-based analysis—73
US 2005278574 A1Method and apparatus to preserve trace data—17
US 2006277435 A1Mechanism for storing and extracting trace information using internal memory in microcontrollers—22
US 2007006032 A1Associating program execution sequences with performance counter events—26
US 2007180439 A1Dynamic application tracing in virtual machine environments—98
US 2008010551 A1System and method for supporting debugging of host channel adapters in a logical partitioning—4
US 2008244531 A1Method and system for generating a hierarchical tree representing stack traces—68
US 2008243970 A1Method and system for providing loitering trace in virtual machines—21
US 2008263309 A1Creating a Physical Trace from a Virtual Trace—19
US 7,454,665 B2Apparatus, method and program for recording diagnostic trace information200815
US 2009083735 A1High availability system and execution state control method—48
US 2009157359 A1Mechanism for profiling program software running on a processor—52
US 2009248611 A1Trace Collection for a Virtual Machine—56
US 2009276185 A1Performance Monitor Unit for Sampling all Performance Events Generated by a Processor—11
US 2010161875 A1Simulator and simulating method for running guest program in host—26

Non-Patent Literature (3)

  • Andrew S. Tanenbaum, "Structured Computer Organization," Prentice-Hall, Second Edition, 5 pages, 1984.
  • Bitzes, Georgios et al., "The overhead of profiling using PMU hardward counters," CERN openlab Report 2014, Jul. 2014.
  • International Search Report and Written Opinion for PCT/U52017/034331, 9 pages, dated Sep. 6, 2017.