summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-05 18:11:30 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-05 18:11:30 +0000
commit7d42e262a1933511680c63588a647f7bffceab72 (patch)
tree128962be8b1fe2408e7b6f8f0af6bde970932126 /usr.bin/truss
parent2fd2750b544183aa48cc1f2543446ef603d47f02 (diff)
downloadFreeBSD-src-7d42e262a1933511680c63588a647f7bffceab72.zip
FreeBSD-src-7d42e262a1933511680c63588a647f7bffceab72.tar.gz
Add decoding for modfind(2)
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 8218b77..ddb1891 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -253,6 +253,8 @@ static struct syscall decoded_syscalls[] = {
.args = { { Int, 0 }, { Ptr, 1 } } },
{ .name = "kldfirstmod", .ret_type = 1, .nargs = 1,
.args = { { Int, 0 } } },
+ { .name = "modfind", .ret_type = 1, .nargs = 1,
+ .args = { { Name | IN, 0 } } },
{ .name = "nanosleep", .ret_type = 1, .nargs = 1,
.args = { { Timespec, 0 } } },
{ .name = "select", .ret_type = 1, .nargs = 5,
OpenPOWER on IntegriCloud