site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=1xK1uGNAEVf45ONgGMzIMw4ccX/4rucXrS/deWzKPcM=; b=n1cu9KgRPX8rZTkqw5RNv2i2maPl5I4Fm8zTuWAupVmmJFC28YBDk8dbDW94qfrugu UP9AZNVpolWR8NOJb7IU+dVL3wqi4AgfcNmWBm9bNPQ1QVry5e0xXoaZf6DnbvsDAkYl 1UAw6X1IygZ/M11y2CO65XYHFf6jm1pKN/jRg= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=wbms0mWgcBqy20N/OkBvokuoXckNNWVFqalMFOWaWxquQNOClkXgR0mrcUk/zPpkNS /qnZGraGMrtgDBpSFLnL88S/t6xmmPgTu4YPCZxJkvEkhOIGLA473JDKFgB1dULEmSGd jcEo6CvoUsg3u3b1gyopBkMp3dqQj8kI4g5NA= Thanks, Joel On Jan 16, 2009, at 9:12 PM, Kevin Van Vechten wrote: Better yet, use DTrace: #!/usr/sbin/dtrace -s syscall::fstat:return /execname == "myprocess" && arg0 != 0/ { printf("%s[%d] fstat returned %d\n", execname, pid, arg0); ustack(); } --- http://twitter.com/wagerlabs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Mighty helpful to trace my funcalls, although I still don't know who in the kernel, within the fstat call, sets errno to EINVAL and why. This email sent to site_archiver@lists.apple.com