From mboxrd@z Thu Jan 1 00:00:00 1970 From: abelvesa@gmail.com (Abel Vesa) Date: Thu, 10 Dec 2015 14:19:29 +0100 Subject: Ftrace: tracing init call of out of tree modules In-Reply-To: References: Message-ID: <20151210131929.GA13868@lbl.gov> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org > However, as soon as I rmmod the driver, set_ftrace_filter becomes > empty automatically. Out-of-tree means the module is not build together with the kernel. > > So how do I do a trace on out-of-tree modules I have ? > If you built your driver without building it together with the kernel, you can trace it as any other module after you insmod it. Cheers, Abel