Hi,Blaisorblade. You wrote: >do_syscall is called, and then this is done: > > sig = SIGUSR2; > tracing = 0; >... after, this saves the new tracing value inside "task", which is a struct >task_struct. > > set_tracing(task, tracing); >
But what's the exact meaning of the task in the tracer function? It is defined as: task = cpu_tasks[proc_id].task Is it the task struct of the traced thread? What's the difference between "task->pid" and "task->thread.mode.tt.extern_pid"? I know in TT mode every thread in UML will has a corresponding thread in host. But I don't know the exact relationship between them. And I didn't found how UML creat the corresponding thread in host. Thanks a lot! Alex ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel