[lttng-dev] LTTng Support for Mount Namespace
mjeanson at efficios.com
Mon Jan 18 13:18:41 EST 2021
On 2021-01-12 15 h 30, Mohammad Kavousi wrote:
> Before, I was installing using the ppa repository. Based on your
> instructions, I made lttng using the source code in a totally new
> environment, having the mount.h under '/lib/modules/$(uname -r)/build/fs'.
> I removed the "ifneq" and "endif" statements for 'Makefile' and
> 'Kbuild.common' which were surrounding "mnt_ns_dep". lttng was installed
> successfully and the kernel trace session started, but I'm still getting
> the same error.
Make sure you delete 'ccflags-y += -DLTTNG_MNT_NS_MISSING_HEADER' from
Kbuild.common, this is what disables the mount namespace support when
the modules are built.
> As a hint, in the build process for lttng-modules, I found messages such
> as "./fs/ext4/*.h not found". Is that part of the problem? Meaning, is
> enabling the mnt context filesystem-specific?
No this is related to the probe that enables ext4 specific tracepoints.
More information about the lttng-dev