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:40:56 +0000 (10:40 -0500)
commitff024e6646f0d75935e8eb277cce508c593a23ad
treea69df9cf9f3ede0c3fe45ee15634729aa81869c0
parent1158b2706e58c2f94e6bd746e0504b989320c0a1
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.026579 seconds and 4 git commands to generate.