Inline implementation of task_prio()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Jan 2024 15:36:31 +0000 (10:36 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Jan 2024 15:41:49 +0000 (10:41 -0500)
commit7f1fa63204f0607ae82ac90cdd5de3f8f33612d5
tree9369f2f9bf25a9cbecfea84c2a714fa3a7865885
parent43b9f0431625b5b5b6454066372819f08b0bd2bf
Inline implementation of task_prio()

The task_prio() function has been implemented as "return p->prio -
MAX_RT_PRIO;" since at least kernel v3.0, so inline it into
lttng-modules rather than using kallsyms to call the kernel
implementation.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I7dd482a2da72a005c16b3e5864767b47d7bc3fd3
include/lttng/events-internal.h
src/lttng-context-prio.c
src/lttng-events.c
This page took 0.026243 seconds and 4 git commands to generate.