From owner-cvs-src@FreeBSD.ORG Mon Jul 24 17:55:21 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF25216A4F0; Mon, 24 Jul 2006 17:55:20 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [195.250.137.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F39143D5A; Mon, 24 Jul 2006 17:55:16 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.6/8.13.6) with ESMTP id k6OHtFLS020736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Jul 2006 19:55:15 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.6/8.13.6/Submit) id k6OHtE3w020735; Mon, 24 Jul 2006 19:55:14 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Robert Watson In-Reply-To: <20060724130731.D44945@fledge.watson.org> References: <200607210845.k6L8j0Ep026008@repoman.freebsd.org> <20060721062609.356f090f.trhodes@FreeBSD.org> <8664hrtcv1.fsf@xps.des.no> <20060724000259.GE16230@wantadilla.lemis.com> <20060724130731.D44945@fledge.watson.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9r6k3zMIeR2NJTA5GGAH" Date: Mon, 24 Jul 2006 19:55:14 +0200 Message-Id: <1153763714.20641.12.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Cc: Tom Rhodes , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Xin LI , Greg 'groggy' Lehey , Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= Subject: Re: truss status (was: cvs commit: src/sys/dev/lmc if_lmc.h) X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 17:55:21 -0000 --=-9r6k3zMIeR2NJTA5GGAH Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Robert Watson p=ED=B9e v po 24. 07. 2006 v 13:10 +0100: > (3) truss is believed not to work properly with threaded applications. k= trace > has been extended to know about thread IDs, and has always been able= to > generate traces properly for threaded apps, whereas truss likely doe= sn'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 --=20 Pav Lucistnik It whines, glows and fades... --=-9r6k3zMIeR2NJTA5GGAH Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBExQmCntdYP8FOsoIRAsn3AJsECeZ/JYIfmvuvCUEKIsuaU2is6wCglH1H lQXEoxtMZefrZcahxq5kbFk= =+m2k -----END PGP SIGNATURE----- --=-9r6k3zMIeR2NJTA5GGAH--