Dynamic library profiling method and dynamic library profiling system
Abstract
A dynamic library profiling method and a dynamic library profiling system including writing a first break point instruction at a start address of a dynamic library function, recording a first event count value that is a process performance management unit (PMU) count when a target process executes the first break point instruction, writing a second break point instruction to a return address of the dynamic library function, and calculating a PMU count generated in a processor core while the dynamic library function is executed, by comparing the recorded first event count value with a second event count value that is a process PMU count when the target process executes the second break point instruction, wherein the process PMU count is a cumulative value of PMU counts generated in the processor core while the target process is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A dynamic library profiling method of a monitoring process that monitors execution of a target process comprising a user program and a dynamic library function dynamically loaded into memory and linked with the user program, the method comprising: writing a first break point instruction to a start address of the dynamic library function indicated by calling a procedure linkage table (PLT) corresponding to the dynamic library function, the PLT referencing a global offset table (GOT) storing the start address of the dynamic library function, in an address space of the target process in the memor
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,355,212 B2 | Calculation processing apparatus, and method for controlling calculation processing apparatus | 2022 | 0 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Bala, Vasanth, Evelyn Duesterwald, and Sanjeev Banerjia. "Dynamo: a transparent dynamic optimization system." ACM SIGPLAN Notices 35.5 (2000): pp. 1-12.
- Communication dated Mar. 30, 2015 issued by the European Patent Office in counterpart European Patent Application No. 13190805.5.
- Communication issued by the European Patent Office dated Oct. 25, 2017 in counterpart European Patent Application No. 13190805.5.
- Luk, Chi-Keung, et al. "Pin: building customized program analysis tools with dynamic instrumentation." Acm sigplan notices. vol. 40. No. 6. ACM, 2005.pp. 190-200.
- Vetter, Jeffrey. "Dynamic statistical profiling of communication activity in distributed applications." ACM SIGMETRICS Performance Evaluation Review. vol. 30. No. 1. ACM, 2002.pp. 1-11.