|
|
Subscribe / Log in / New account

Accurate timestamps for the ftrace ring buffer

Accurate timestamps for the ftrace ring buffer

[Kernel] Posted Sep 22, 2020 21:29 UTC (Tue) by nevets

The function tracer (ftrace) subsystem has become an essential part of the kernel's introspection tooling. Like many kernel subsystems, ftrace uses a ring buffer to quickly communicate events to user space; those events include a timestamp to indicate when they occurred. Until recently, the design of the ring buffer has led to the creation of inaccurate timestamps when events are generated from interrupt handlers. That problem has now been solved; read on for an in-depth discussion of how this issue came about and the form of its solution.

Full Story (comments: 1)


Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds