summaryrefslogtreecommitdiff
path: root/usr.bin/truss/syscalls.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-06-10 01:32:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2017-06-10 01:32:35 +0000
commit3cd40bc3605e214d84d89caf5bedd667459f3082 (patch)
tree17aac32390255fd935bffebc4305d97d0d7a4348 /usr.bin/truss/syscalls.c
parent66ba8943a1afe5e39630b2bbf0922b5949e899d6 (diff)
downloadsrc-test2-3cd40bc3605e214d84d89caf5bedd667459f3082.tar.gz
src-test2-3cd40bc3605e214d84d89caf5bedd667459f3082.zip
Notes
Diffstat (limited to 'usr.bin/truss/syscalls.c')
-rw-r--r--usr.bin/truss/syscalls.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index befb2a701fbf..3c0ba799ad53 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -391,6 +391,10 @@ static struct syscall decoded_syscalls[] = {
.args = { { Rforkflags, 0 } } },
{ .name = "rmdir", .ret_type = 1, .nargs = 1,
.args = { { Name, 0 } } },
+ { .name = "rtprio", .ret_type = 1, .nargs = 3,
+ .args = { { Rtpriofunc, 0 }, { Int, 1 }, { Ptr, 2 } } },
+ { .name = "rtprio_thread", .ret_type = 1, .nargs = 3,
+ .args = { { Rtpriofunc, 0 }, { Int, 1 }, { Ptr, 2 } } },
{ .name = "sctp_generic_recvmsg", .ret_type = 1, .nargs = 7,
.args = { { Int, 0 }, { Ptr | IN, 1 }, { Int, 2 },
{ Sockaddr | OUT, 3 }, { Ptr | OUT, 4 }, { Ptr | OUT, 5 },
@@ -2147,6 +2151,10 @@ print_arg(struct syscall_args *sc, unsigned long *args, long *retval,
case Reboothowto:
print_mask_arg(sysdecode_reboot_howto, fp, args[sc->offset]);
break;
+ case Rtpriofunc:
+ print_integer_arg(sysdecode_rtprio_function, fp,
+ args[sc->offset]);
+ break;
case CloudABIAdvice:
fputs(xlookup(cloudabi_advice, args[sc->offset]), fp);