github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/freebsd/ktrace.txt (about) 1 # Copyright 2021 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 include <sys/param.h> 5 include <sys/signal.h> 6 include <sys/uio.h> 7 include <sys/ktrace.h> 8 9 ktrace(path ptr[in, filename], ops flags[ktrace_ops], trpoints flags[ktrace_trpoints], pid pid) 10 11 ktrace_ops = KTROP_SET, KTROP_CLEAR, KTROP_CLEARFILE, KTRFLAG_DESCEND 12 ktrace_trpoints = KTRFAC_SYSCALL, KTRFAC_SYSRET, KTRFAC_NAMEI, KTRFAC_GENIO, KTRFAC_PSIG, KTRFAC_CSW, KTRFAC_USER, KTRFAC_STRUCT, KTRFAC_SYSCTL, KTRFAC_PROCCTOR, KTRFAC_PROCDTOR, KTRFAC_CAPFAIL, KTRFAC_FAULT, KTRFAC_FAULTEND, KTRFAC_INHERIT