Abstract
A hardware tracer generates its enormous data into a log that is used for both performance analysis and debugging. Processor Trace (PT) is a new hardware-based tracing feature for Intel CPUs that traces branches executing on the CPU, which allows the reconstruction of the control flow of all executed code with minimal labor. Hardware tracer has been integrated into the operating system, which allows tight integration with its profiling and debugging mechanisms. In this paper, we implemented an in-line tracer that extends simple-pt in Linux. The in-line tracer proposed in this paper provides real-time information of symbol, specific address occurrence, frequency, overhead, and caller/callee based on information provided by simple-pt.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Suchakra S (2015) Hardware tracing for fast and precise performance analysis. https://thenewstack.io/hardware-tracing-fast-precise-performance-analysis/
Andi K, Adding processor trace support to linux. https://lwn.net/Articles/648154/
Andi K, Simple intel CPU processor tracing on Linux. https://github.com/andikleen/simple-pt
Peter T, Intel processor trace: how to use it (2016). https://tthtlc.wordpress.com/2016/01/26/intel-processor-trace-how-to-use-it/
Andi K simple-PT. https://github.com/andikleen/simple-pt
Thalheim J, Bhatotia P, Fetzer C (2016) INSPECTOR: data provenance using intel processor trace (PT). International conference on distributed computing systems (ICDCS), pp 25–34
Kim H, Kim Y, Kim I, Kim H (2017) Dynamic information extraction and integrity verification scheme for cloud security. In: Lecture notes in electrical engineering, vol 425. Springer
Acknowledgements
Funding for this paper was provided by Namseoul university.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Kim, H. (2019). Extended Flow Detection Scheme Using Simple Processor Trace (PT). In: Kim, K., Baek, N. (eds) Information Science and Applications 2018. ICISA 2018. Lecture Notes in Electrical Engineering, vol 514. Springer, Singapore. https://doi.org/10.1007/978-981-13-1056-0_9
Download citation
DOI: https://doi.org/10.1007/978-981-13-1056-0_9
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-1055-3
Online ISBN: 978-981-13-1056-0
eBook Packages: EngineeringEngineering (R0)