lkml.org 
[lkml]   [2022]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] tracing: Introduce trace clock tai
Date
Hi,

the Linux kernel tracing infrastructure has support for using different clocks
to generate timestamps for trace events. Especially in TSN networks it's useful
to have TAI as trace clock, because the application scheduling is done in
accordance to the network time, which is based on TAI. With a tai trace_clock in
place, it becomes very convenient to correlate network activity with Linux
kernel application traces.

However, there's no fast accessor for CLOCK_TAI yet. Therefore, patch #1 is
adding one. Patch #2 introduces the clock and the last one adds documentation
for it.

Thanks,
Kurt

Kurt Kanzenbach (3):
timekeeping: Introduce fast accessor to clock tai
tracing: Introduce trace clock tai
tracing: Add documentation for trace clock tai

Documentation/trace/ftrace.rst | 12 ++++++++++++
include/linux/timekeeping.h | 1 +
kernel/time/timekeeping.c | 17 +++++++++++++++++
kernel/trace/trace.c | 1 +
4 files changed, 31 insertions(+)

--
2.30.2

\
 
 \ /
  Last update: 2022-04-09 10:14    [W:0.062 / U:9.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site