[lttng-dev] [PATCH v8 lttng-tools] tests: add check_skip_kernel_test to check root user and lttng kernel modules

2024-02-10 Thread Xiangyu Chen via lttng-dev
From: Xiangyu Chen The current tests will run both userspace and kernel testing. Some of use cases only use lttng for one kind of tracing on an embedded device (e.g. userspace), so in this scenario, the kernel modules might not install to target rootfs, the test cases would be fail and exit. Add

[lttng-dev] [PATCH v8 lttng-tools] tests: add check_skip_kernel_test to check root user and lttng kernel modules

2024-02-10 Thread Xiangyu Chen via lttng-dev
From: Xiangyu Chen The current tests will run both userspace and kernel testing. Some of use cases only use lttng for one kind of tracing on an embedded device (e.g. userspace), so in this scenario, the kernel modules might not install to target rootfs, the test cases would be fail and exit. Add