From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id d88dKOC6/V/gRAAAWB0awg (envelope-from ) for ; Tue, 12 Jan 2021 10:06:08 -0500 Received: by simark.ca (Postfix, from userid 112) id 9303A1EF7E; Tue, 12 Jan 2021 10:06:08 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 444E21E940 for ; Tue, 12 Jan 2021 10:06:07 -0500 (EST) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4DFYmt4jGVzQ9W; Tue, 12 Jan 2021 10:06:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1610463966; bh=s0aHavoN+TMuM+8g1mCk2TGo1Zwd+E0W2Iv54pfevJ8=; h=To:Cc:References:Date:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=GBLEl64O3FtnRQ6Q/6nXV7iU7fF4yvT9pNQcj7XjfFaA7arHUU93bxznGY+FzXIUH h2O9BUk84MQS4fNZs8u6jOB6QkikXC9olnnW/KQng4AtejdPsqEH7TXmZJTN/IDs52 P+pAp5PsQa4rmVVR5XvP8yIHMLSxKv5hEIU/o+kyd/zhD/xbTzgJicEiXTXLP+CSSh kyeD9fCKNk/hbNRGlMHrTst5I7ns8sXSq036YpZqvPnRaxrlVfJyiq/79pp3D2+VF2 3IMpvOaMfKHxf7wocoHooWEo6o75iiA+pWQr/Tb11UzS6DAHF/0gjugczHgDwAKQ6I J9ayrd2kg1/tg== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4DFYms18NWzQCD for ; Tue, 12 Jan 2021 10:06:05 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id C576927A16E for ; Tue, 12 Jan 2021 10:05:58 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 09iUb94GBLVH; Tue, 12 Jan 2021 10:05:58 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 5E61E27A0FF; Tue, 12 Jan 2021 10:05:58 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 5E61E27A0FF X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tNIHCXUdcoGX; Tue, 12 Jan 2021 10:05:58 -0500 (EST) Received: from [10.10.0.241] (96-127-212-112.qc.cable.ebox.net [96.127.212.112]) by mail.efficios.com (Postfix) with ESMTPSA id 3764B27A05B; Tue, 12 Jan 2021 10:05:58 -0500 (EST) To: Mohammad Kavousi Cc: lttng-dev@lists.lttng.org, Yan Chen , Xutong Chen References: <977d5fa1-ff33-f99e-5be9-7c53ff6adfc4@efficios.com> Message-ID: Date: Tue, 12 Jan 2021 10:05:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Subject: Re: [lttng-dev] LTTng Support for Mount Namespace X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.31 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Jeanson via lttng-dev Reply-To: Michael Jeanson Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On 2021-01-09 09 h 03, Mohammad Kavousi wrote: > Michael, > > Thank you for your swift response. However, for the first part, I'm not > sure what it means by "using" the full kernel source. How would I use it > with lttng-modules? > > As for the quick hack part, I grabbed the kernel source and copied the > mount.h onto the folder you mentioned, and it did not help. I don't > expect lttng to automatically find that file and use it; also there are > no other header files in the package build directory. Could you kindly > give us more instructions? > > Thanks, > Mohammad The lttng modules are shipped in Ubuntu as a dkms package which means they are built directly on your machine for each kernel version you install. So after adding the required file in your headers you'll need to rebuild the modules with dkms and unload / reload them in your running kernel or just reboot the machine. To rebuild all installed dkms modules for the current kernel: sudo dkms autoinstall _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev