Re: [RFC PATCH 0/3] rtla: Synchronize sample collection methods
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-24 18:50:54
Also in:
lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-24 18:50:54
Also in:
lkml
On Fri, 23 Jan 2026 16:25:31 +0100 Tomas Glozar [off-list ref] wrote:
To enable RTLA to analyze samples consistently, the first patch adds two fields to the osnoise:timerlat_sample tracepoint: instances_registered and instances_on. During the recording of a timerlat sample, timerlat counts how many instances are registered and how many are on, and attaches the information to the osnoise:timerlat_sample trace event, which is moved to occur after the samples are recorded.
Can't RTLA simply write into trace_marker or trace_marker_raw an event that states "tracing is now active" and ignore anything before that event. Heck, it will include a timestamp, so you only need to write once and ignore any event that occurred before that timestamp. -- Steve