Hardware trace reconstruction of runtime compiled code. (9th February 2018)
- Record Type:
- Journal Article
- Title:
- Hardware trace reconstruction of runtime compiled code. (9th February 2018)
- Main Title:
- Hardware trace reconstruction of runtime compiled code
- Authors:
- Sharma, Suchakrapani Datt
Dagenais, Michel R. - Abstract:
- Summary: Hardware tracing has emerged as a low‐cost technique to analyze systems at a very fine granularity, thus mitigating the need for software‐only trace approaches for performance analysis. State‐of‐the‐art trace hardware on modern Intel and ARM processors allows recording change‐of‐flow instructions in executable binaries, such as branches, for off‐line reconstruction. This conventional userspace–based trace reconstruction, however, is not robust enough in the common scenarios where runtime code is being generated, compiled, and executed. We therefore propose a novel kernel‐assisted mechanism called FlowJIT to reconstruct hardware traces with a low overhead of around 1.3 μ s per code page modification event. We further show the efficacy or our technique with the help of 2 illustrative usecases that cover the JIT compiled code scenario and a same‐page instruction modification scenario. Our implementation has been open sourced as a patch for the Linux kernel.
- Is Part Of:
- Software, practice & experience. Volume 48:Number 5(2018)
- Journal:
- Software, practice & experience
- Issue:
- Volume 48:Number 5(2018)
- Issue Display:
- Volume 48, Issue 5 (2018)
- Year:
- 2018
- Volume:
- 48
- Issue:
- 5
- Issue Sort Value:
- 2018-0048-0005-0000
- Page Start:
- 1042
- Page End:
- 1055
- Publication Date:
- 2018-02-09
- Subjects:
- debugging -- hardware tracing -- JIT compilation -- performance analysis
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.2567 ↗
- 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:
- 6329.xml