This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: thread id and process id in 2.6 kernel


Guang Lei Li <liguangl@cn.ibm.com> writes:

>   In the 2.6 kernel, we should use tgid in task_struct as the process id. 
> And pid in task_struct should be thread id, although in a single thread 
> application pid == tgid.
> [...]

You're exactly right.  When finding such bugs, it may be best to go
straight to bugzilla, and open a bug against the component in question
("tapset" in this case).  In this case, I'll commit your fix.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]