|
|
| version 1.11, 2003/09/29 18:52:06 | version 1.12, 2004/02/14 12:14:30 |
|---|---|
| Line 63 static int ktrops (struct proc *,struct | Line 63 static int ktrops (struct proc *,struct |
| static struct ktr_header * | static struct ktr_header * |
| ktrgetheader(type) | ktrgetheader(int type) |
| int type; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct proc *p = curproc; /* XXX */ | struct proc *p = curproc; /* XXX */ |
| Line 79 ktrgetheader(type) | Line 78 ktrgetheader(type) |
| } | } |
| void | void |
| ktrsyscall(vp, code, narg, args) | ktrsyscall(struct vnode *vp, int code, int narg, register_t args[]) |
| struct vnode *vp; | |
| int code, narg; | |
| register_t args[]; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct ktr_syscall *ktp; | struct ktr_syscall *ktp; |
| Line 109 ktrsyscall(vp, code, narg, args) | Line 105 ktrsyscall(vp, code, narg, args) |
| } | } |
| void | void |
| ktrsysret(vp, code, error, retval) | ktrsysret(struct vnode *vp, int code, int error, register_t retval) |
| struct vnode *vp; | |
| int code, error; | |
| register_t retval; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct ktr_sysret ktp; | struct ktr_sysret ktp; |
| Line 133 ktrsysret(vp, code, error, retval) | Line 126 ktrsysret(vp, code, error, retval) |
| } | } |
| void | void |
| ktrnamei(vp, path) | ktrnamei(struct vnode *vp, char *path) |
| struct vnode *vp; | |
| char *path; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct proc *p = curproc; /* XXX */ | struct proc *p = curproc; /* XXX */ |
| Line 158 ktrnamei(vp, path) | Line 149 ktrnamei(vp, path) |
| } | } |
| void | void |
| ktrgenio(vp, fd, rw, uio, error) | ktrgenio(struct vnode *vp, int fd, enum uio_rw rw, struct uio *uio, int error) |
| struct vnode *vp; | |
| int fd; | |
| enum uio_rw rw; | |
| struct uio *uio; | |
| int error; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct ktr_genio ktg; | struct ktr_genio ktg; |
| Line 193 ktrgenio(vp, fd, rw, uio, error) | Line 179 ktrgenio(vp, fd, rw, uio, error) |
| } | } |
| void | void |
| ktrpsig(vp, sig, action, mask, code) | ktrpsig(struct vnode *vp, int sig, sig_t action, sigset_t *mask, int code) |
| struct vnode *vp; | |
| int sig; | |
| sig_t action; | |
| sigset_t *mask; | |
| int code; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct ktr_psig kp; | struct ktr_psig kp; |
| Line 226 ktrpsig(vp, sig, action, mask, code) | Line 207 ktrpsig(vp, sig, action, mask, code) |
| } | } |
| void | void |
| ktrcsw(vp, out, user) | ktrcsw(struct vnode *vp, int out, int user) |
| struct vnode *vp; | |
| int out, user; | |
| { | { |
| struct ktr_header *kth; | struct ktr_header *kth; |
| struct ktr_csw kc; | struct ktr_csw kc; |
| Line 411 utrace(struct utrace_args *uap) | Line 390 utrace(struct utrace_args *uap) |
| #ifdef KTRACE | #ifdef KTRACE |
| static int | static int |
| ktrops(curp, p, ops, facs, vp) | ktrops(struct proc *curp, struct proc *p, int ops, int facs, struct vnode *vp) |
| struct proc *p, *curp; | |
| int ops, facs; | |
| struct vnode *vp; | |
| { | { |
| if (!ktrcanset(curp, p)) | if (!ktrcanset(curp, p)) |
| Line 454 ktrops(curp, p, ops, facs, vp) | Line 430 ktrops(curp, p, ops, facs, vp) |
| } | } |
| static int | static int |
| ktrsetchildren(curp, top, ops, facs, vp) | ktrsetchildren(struct proc *curp, struct proc *top, int ops, int facs, |
| struct proc *curp, *top; | struct vnode *vp) |
| int ops, facs; | |
| struct vnode *vp; | |
| { | { |
| struct proc *p; | struct proc *p; |
| int ret = 0; | int ret = 0; |