]> www.infradead.org Git - users/jedix/linux-maple.git/commit
trace/osnoise: Add trace events for samples
authorTomas Glozar <tglozar@redhat.com>
Mon, 3 Feb 2025 09:04:18 +0000 (10:04 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 27 Feb 2025 00:44:30 +0000 (19:44 -0500)
commita065bbf776d32a71e748bd948861e6deca803d78
tree3e65d3d4ae7709d3554a49ec7cfdf72e84f109fa
parentd082ecbc71e9e0bf49883ee4afd435a77a5101b6
trace/osnoise: Add trace events for samples

Add trace events that fire at osnoise and timerlat sample generation, in
addition to the already existing noise and threshold events.

This allows processing the samples directly in the kernel, either with
ftrace triggers or with BPF.

Cc: John Kacur <jkacur@redhat.com>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Link: https://lore.kernel.org/20250203090418.1458923-1-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Tested-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/trace/events/osnoise.h
kernel/trace/trace_osnoise.c