From: Mathieu Desnoyers Date: Wed, 28 Apr 2021 20:26:20 +0000 (-0400) Subject: Refactoring: context callbacks X-Git-Tag: v2.13.0-rc2~64 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=ea2d95e474476e28aca898d29f7564db4e4eb283;hp=ea2d95e474476e28aca898d29f7564db4e4eb283;p=lttng-modules.git Refactoring: context callbacks Refactor the context callbacks so they take a private pointer as argument. Note that the callstack context internally uses a per-cpu stack across context size calculation and recording to the ring buffer, which requires that preemption is disabled across those operations. The get_size_arg and _get_size callbacks are merged into a single callback. Signed-off-by: Mathieu Desnoyers Change-Id: I7c4146481d35cb9ddef19f2cb5d61e56ebe142be ---