lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Michael Jeanson via lttng-dev <lttng-dev@lists.lttng.org>
To: Mohammad Kavousi <kavousi@u.northwestern.edu>
Cc: lttng-dev@lists.lttng.org, Yan Chen <ychen@northwestern.edu>,
	Xutong Chen <XutongChen2021@u.northwestern.edu>
Subject: Re: [lttng-dev] LTTng Support for Mount Namespace
Date: Mon, 18 Jan 2021 13:18:41 -0500	[thread overview]
Message-ID: <8a51f342-99e8-d4b3-f164-4a55d7ef6254@efficios.com> (raw)
In-Reply-To: <CAK7B4KfTzaK8ysqoEnWAbsF2fm_E8cMgPx2e0jV9tuASXM=vyQ@mail.gmail.com>

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.
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

      reply	other threads:[~2021-01-18 18:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 15:50 [lttng-dev] LTTng Support for Mount Namespace Mohammad Kavousi via lttng-dev
2021-01-06 17:02 ` Michael Jeanson via lttng-dev
2021-01-09 14:03   ` Mohammad Kavousi via lttng-dev
2021-01-12 15:05     ` Michael Jeanson via lttng-dev
2021-01-12 17:29       ` Mohammad Kavousi via lttng-dev
2021-01-12 18:51         ` Michael Jeanson via lttng-dev
2021-01-12 20:30           ` Mohammad Kavousi via lttng-dev
2021-01-18 18:18             ` Michael Jeanson via lttng-dev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a51f342-99e8-d4b3-f164-4a55d7ef6254@efficios.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=XutongChen2021@u.northwestern.edu \
    --cc=kavousi@u.northwestern.edu \
    --cc=mjeanson@efficios.com \
    --cc=ychen@northwestern.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).