From owner-svn-src-head@freebsd.org Mon Jan 15 22:43:10 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45AD2E7C502; Mon, 15 Jan 2018 22:43:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2519D738DA; Mon, 15 Jan 2018 22:43:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (astound-66-234-199-215.ca.astound.net [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 3E44E10A8C0; Mon, 15 Jan 2018 17:43:09 -0500 (EST) From: John Baldwin To: Michael Tuexen Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r327919 - head/usr.bin/truss Date: Mon, 15 Jan 2018 11:08:12 -0800 Message-ID: <2969150.hLkFiRHMD4@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <201801131359.w0DDxZur067490@repo.freebsd.org> References: <201801131359.w0DDxZur067490@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Mon, 15 Jan 2018 17:43:09 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 22:43:10 -0000 On Saturday, January 13, 2018 01:59:35 PM Michael Tuexen wrote: > Author: tuexen > Date: Sat Jan 13 13:59:35 2018 > New Revision: 327919 > URL: https://svnweb.freebsd.org/changeset/base/327919 > > Log: > Add support for readv() and writev() to truss. > > Sponsored by: Netflix, Inc. > > Modified: > head/usr.bin/truss/syscall.h > head/usr.bin/truss/syscalls.c > > Modified: head/usr.bin/truss/syscalls.c > ============================================================================== > --- head/usr.bin/truss/syscalls.c Sat Jan 13 13:53:05 2018 (r327918) > +++ head/usr.bin/truss/syscalls.c Sat Jan 13 13:59:35 2018 (r327919) > @@ -386,6 +386,8 @@ static struct syscall decoded_syscalls[] = { > .args = { { Name, 0 }, { Quotactlcmd, 1 }, { Int, 2 }, { Ptr, 3 } } }, > { .name = "read", .ret_type = 1, .nargs = 3, > .args = { { Int, 0 }, { BinString | OUT, 1 }, { Sizet, 2 } } }, > + { .name = "readv", .ret_type = 1, .nargs = 3, > + .args = { { Int, 0 }, { Iovec, 1 }, { Int, 2 } } }, > { .name = "readlink", .ret_type = 1, .nargs = 3, > .args = { { Name, 0 }, { Readlinkres | OUT, 1 }, { Sizet, 2 } } }, Please keep the array of syscall names sorted. > { .name = "readlinkat", .ret_type = 1, .nargs = 4, -- John Baldwin