From: Michael Jeanson Date: Tue, 31 May 2022 19:24:48 +0000 (-0400) Subject: fix: 'random' tracepoints removed in stable kernels X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=ed1149ef88fb62c365ac66cf62c58ac6abd8d7e8;hp=ed1149ef88fb62c365ac66cf62c58ac6abd8d7e8;p=lttng-modules.git fix: 'random' tracepoints removed in stable kernels The upstream commit 14c174633f349cb41ea90c2c0aaddac157012f74 removing the 'random' tracepoints is being backported to multiple stable kernel branches, I don't see how that qualifies as a fix but here we are. Use the presence of 'include/trace/events/random.h' in the kernel source tree instead of the rather tortuous version check to determine if we need to build 'lttng-probe-random.ko'. Change-Id: I8f5f2f4c9e09c61127c49c7949b22dd3fab0460d Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---