This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/9925] task_execname(task) incorrect in process.create
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 Mar 2009 17:22:14 -0000
- Subject: [Bug tapsets/9925] task_execname(task) incorrect in process.create
- References: <20090305162902.9925.cap@nsc.liu.se>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From dsmith at redhat dot com 2009-03-05 17:22 -------
(In reply to comment #3)
> (In reply to comment #1)
> > The output is "correct"
>
> It may be expected (given what process.create really is) but it is not
> "correct". That however can be fixed by updating the documentation...
Which part of the documentation do you object to?
> The "task" in process.create is half the new process and half the old. I fear
> this will confuse people even if the documentation/manpage is updated.
I have to disagree with you - the "task" in process.create is fully the new
process. Since the exec hasn't happened yet, execname is still that of the
parent, which is correct. Remember that We have no guarantees that the new
process will do an exec at all - in the case of multi-threaded programs, this is
usually the case.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9925
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.