Robert Watson píše v po 24. 07. 2006 v 13:10 +0100: > (3) truss is believed not to work properly with threaded applications. ktrace > has been extended to know about thread IDs, and has always been able to > generate traces properly for threaded apps, whereas truss likely doesn't > see events from more than one thread (or if it does, it likely gets very > mixed up). It might be good to confirm this.
Correct, truss is no-go on a multithreaded app. In the moment two
threads enter syscall simultaneously, the whole thing goes to hell,
because truss works as follows:
App enters syscall, truss stores the name of syscall
App exits syscall, truss receives the return value and print the info
--
Pav Lucistnik <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
It whines, glows and fades...
signature.asc
Description: Toto je digitálně podepsaná část zprávy
