From owner-freebsd-net@FreeBSD.ORG Sun May 5 19:34:51 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6FE6445B for ; Sun, 5 May 2013 19:34:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2971EAAF for ; Sun, 5 May 2013 19:34:50 +0000 (UTC) Received: from Julian-MBP3.local ([12.157.112.67]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id r45JKtHj041253 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 5 May 2013 12:20:55 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5186B112.7040202@freebsd.org> Date: Sun, 05 May 2013 12:20:50 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Eitan Adler Subject: Re: Seeing EINVAL from writev on 8.0 to a non-blocking socket even though the data seems to hit the wire References: <5181ECDF.1040905@mu.org> <51827DAA.2020009@vangyzen.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Alfred Perlstein , Eric van Gyzen , Richard Sharpe X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2013 19:34:51 -0000 On 5/2/13 5:18 PM, Eitan Adler wrote: > On 2 May 2013 20:14, Eitan Adler wrote: > >> gprof in base >> valgrind --callgrind >> doxygen can also do this. >> > I was reminded this was about the kernel, not userland, sorry for the noise. > hey richard.. dtrace is your friend. (and I happen to know you have it on your system) will catch you tomorrow (monday) and we can look into it..