Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2018 11:08:12 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        Michael Tuexen <tuexen@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r327919 - head/usr.bin/truss
Message-ID:  <2969150.hLkFiRHMD4@ralph.baldwin.cx>
In-Reply-To: <201801131359.w0DDxZur067490@repo.freebsd.org>
References:  <201801131359.w0DDxZur067490@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2969150.hLkFiRHMD4>