cvs commit: src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_ktrace.c src/sys/sys ktrace.h proc.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed May 17 13:22:14 PDT 2006
dillon 2006/05/17 13:20:55 PDT
DragonFly src repository
Modified files:
sys/kern kern_exec.c kern_exit.c kern_fork.c
kern_ktrace.c
sys/sys ktrace.h proc.h
Log:
The ktracing code was not properly matching up VOP_OPEN and VOP_CLOSE calls.
Replace the p_tracep tracing vnode in struct proc with a pointer to
a ref-counted ktrace_node. Ref the node instead of the vnode to prevent
the destruction of the vnode.
Revision Changes Path
1.39 +4 -8 src/sys/kern/kern_exec.c
1.53 +4 -5 src/sys/kern/kern_exit.c
1.47 +3 -4 src/sys/kern/kern_fork.c
1.24 +82 -63 src/sys/kern/kern_ktrace.c
1.6 +14 -0 src/sys/sys/ktrace.h
1.74 +2 -1 src/sys/sys/proc.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.52&r2=1.53&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_ktrace.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/ktrace.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.73&r2=1.74&f=u
More information about the Commits
mailing list