]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rv: Unify DA event handling functions across monitor types
authorGabriele Monaco <gmonaco@redhat.com>
Mon, 30 Mar 2026 11:09:59 +0000 (13:09 +0200)
committerGabriele Monaco <gmonaco@redhat.com>
Tue, 31 Mar 2026 14:47:16 +0000 (16:47 +0200)
commit9da38a69da30ae16982f1dcf55890d159cf38cf4
tree735d9ab0bc925251881226a833678b231d748e5e
parent7aaa8047eafd0bd628065b15757d9b48c5f9c07d
rv: Unify DA event handling functions across monitor types

The DA event handling functions are mostly duplicated because the
per-task monitors need to propagate the task struct while others do not.

Unify the functions, handle the difference by always passing an
identifier which is the task's pid for per-task monitors but is ignored
for the other types. Only keep the actual tracepoint calling separated.

Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260330111010.153663-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
include/rv/da_monitor.h