Virtualizing precise event based sampling
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)
- 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 ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (50)
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.