Fast and flexible tracepoints in x86. (2nd September 2019)
- Record Type:
- Journal Article
- Title:
- Fast and flexible tracepoints in x86. (2nd September 2019)
- Main Title:
- Fast and flexible tracepoints in x86
- Authors:
- Harper‐Cyr, Christian
Dagenais, Michel R.
Bushehri, Ahmad S. - Abstract:
- Summary: Tracing is often the most effective technique for analyzing the performance of complex multithreaded applications. This paper presents an improvement on existing techniques for dynamic tracepoint insertion. To add a tracepoint, the technique inserts a jump at the tracing point, possibly replacing several shorter instructions. This jump embeds trap instructions inside its offset at the address of every replaced instruction. This makes the jump thread safe if any thread is about to execute a replaced instruction. It also makes it jump safe if a jump landing pad is at one of the replaced instructions. In both cases, a trap will be raised, and the thread can be redirected to the out‐of‐line equivalent instruction. The use of a jump instead of a trap to execute the tracepoint improves the performance of the execution. It also adds the flexibility to place the tracepoint at almost any instruction, since multiple instructions can be replaced atomically and safely. The downside of this technique is the increased memory usage, since it requires unaligned allocations with high external fragmentation.
- Is Part Of:
- Software, practice & experience. Volume 49:Number 12(2019)
- Journal:
- Software, practice & experience
- Issue:
- Volume 49:Number 12(2019)
- Issue Display:
- Volume 49, Issue 12 (2019)
- Year:
- 2019
- Volume:
- 49
- Issue:
- 12
- Issue Sort Value:
- 2019-0049-0012-0000
- Page Start:
- 1712
- Page End:
- 1727
- Publication Date:
- 2019-09-02
- Subjects:
- dynamic instrumentation -- dynamic tracing -- instrumentation -- tracing -- x86
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.2746 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 12059.xml