How can I trace a kernel module

I have a module that is suspected of causing a kernel hang. I would like to know how to attach an strace to that module.

I have tried strace -p {pid} it replys with “operation not permitted”

FYI this is a network module.

Thank you in advance.