Kernel subsystem for handling performance counters and events
Abstract
A system for handling performance counters and events includes an operating system that receives a request of a first application for performance data associated with a type of event to be performed by a second application, causes a hardware counter pertaining to the event type to be activated, and provides a file descriptor corresponding to the hardware counter to the first application. The operating system then receives a second request of the first application for a value of the hardware counter, where the second request includes the file descriptor, and provides the value of the hardware counter to the first application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, implemented by a computing system programmed to perform the following, comprising: receiving, by an operating system of the computing system, a first request of a first application for performance data associated with a type of event to be performed by a second application; causing, by the operating system, a hardware counter pertaining to the event type to be activated; providing, by the operating system, a file descriptor corresponding to the hardware counter to the first application; receiving, by the operating system, a second request of the first application for a value of the h
- Claim 2Depends on #1
The method of claim 1 further comprising: determining during initialization of the computing
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (37)
Non-Patent Literature (5)
- Corbet, Jonathan, "Dueling Performance Monitors," LWN.net, Dec. 9, 2008, 4 pages.
- Corbet, Jonathan, "Followups: Performance Counters, ksplice, and fsnotify," LWN.net, Dec. 17, 2008, 5 pages.
- Gleixner, Thomas, "[Announcement] Performance Counters for Linux," LWN.net, Dec. 4, 2008, 4 pages.
- Gleixner, Thomas, "[Patch 2/3] Performance Counters: Documentation," LWN.net, Dec. 4, 2008, 3 pages.
- Molnar, Ingo, "Performance Counters for Linux, V2," LWN.net, Dec. 8, 2008, 27 pages.