Ftrace: tracing init call of out of tree modules

Abel Vesa abelvesa at gmail.com
Thu Dec 10 08:19:29 EST 2015



> 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



More information about the Kernelnewbies mailing list