2010
DOI: 10.1002/spe.991
|View full text |Cite
|
Sign up to set email alerts
|

Synchronization for fast and reentrant operating system kernel tracing

Abstract: To effectively trace an operating system, a performance monitoring and debugging infrastructure needs the ability to trace various execution contexts. These contexts range from kernel running as a thread to Non‐Maskable Interrupt (NMI) contexts. Given that any part of the kernel infrastructure used by a kernel tracer could lead to infinite recursion if traced, and because most kernel primitives require synchronization unsuitable for some execution contexts, all interactions of the tracing code with the existin… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2014
2014
2014
2014

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 8 publications
0
2
0
Order By: Relevance
“…To address these concerns, we reviewed existing work in software tracing that provide practical solutions to these issues. For example, tracing tools such as LTTng [4] can instrument the system with very low overhead and almost no disturbance. Our previous work on trace abstraction, implemented in industrial tools, is an example of how traces can be simplified by reducing their size [8,9].…”
Section: Lessons Learnedmentioning
confidence: 99%
“…To address these concerns, we reviewed existing work in software tracing that provide practical solutions to these issues. For example, tracing tools such as LTTng [4] can instrument the system with very low overhead and almost no disturbance. Our previous work on trace abstraction, implemented in industrial tools, is an example of how traces can be simplified by reducing their size [8,9].…”
Section: Lessons Learnedmentioning
confidence: 99%
“…LTTng achieves these by mainly minimizing the amount of required synchronization in trace data extraction while improving the tracing throughput. To this end, LTTng tracing is implemented on the basis of a lock‐free multi‐core high‐throughput buffer scheme, which adopts a Read‐Copy‐Update synchronization technique to obtain very efficient and wait‐free read sites at both the kernel and user‐space levels . Moreover, to further improve the throughput, a common trace format (CTF), a self‐describing highly optimized binary format, is designed to record trace events with variable sizes in a compact format.…”
Section: Lttng Overviewmentioning
confidence: 99%