Skip to main content

Extended Flow Detection Scheme Using Simple Processor Trace (PT)

  • Conference paper
  • First Online:
  • 1494 Accesses

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 514))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   299.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Suchakra S (2015) Hardware tracing for fast and precise performance analysis. https://thenewstack.io/hardware-tracing-fast-precise-performance-analysis/

  2. https://sites.google.com/site/intelptmicrotutorial/

  3. Andi K, Adding processor trace support to linux. https://lwn.net/Articles/648154/

  4. Andi K, Simple intel CPU processor tracing on Linux. https://github.com/andikleen/simple-pt

  5. Peter T, Intel processor trace: how to use it (2016). https://tthtlc.wordpress.com/2016/01/26/intel-processor-trace-how-to-use-it/

  6. Andi K simple-PT. https://github.com/andikleen/simple-pt

  7. 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

    Google Scholar 

  8. 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

    Google Scholar 

Download references

Acknowledgements

Funding for this paper was provided by Namseoul university.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hyuncheol Kim .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics