On Fri, Feb 22, 2013 at 4:38 PM, Kevin Wilson wrote:
> Question: what is the reason that kernel threads cannot be traced while
> userspace threads can be traced ?
Subjectively, I think that's because most kernel threads play
important roles in kernel's works. So tracing them might either slows
th
H i all,
You will get an error when trying to call ptrace system call on kernel threads.
In code, you have the following check:
static int ptrace_attach(struct task_struct *task, long request,
unsigned long addr,
unsigned long flags)
{
...
retv