[BACK]Return to kern_ktrace.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/kern_ktrace.c between version 1.93 and 1.94

version 1.93, 2004/09/22 22:15:03 version 1.94, 2004/10/01 16:30:53
Line 734  ktrace_common(struct proc *curp, int ops
Line 734  ktrace_common(struct proc *curp, int ops
                         goto done;                          goto done;
   
                 proclist_lock_read();                  proclist_lock_read();
                 LIST_FOREACH(p, &allproc, p_list) {                  PROCLIST_FOREACH(p, &allproc) {
                         if (p->p_tracep == ktd) {                          if (p->p_tracep == ktd) {
                                 if (ktrcanset(curp, p))                                  if (ktrcanset(curp, p))
                                         ktrderef(p);                                          ktrderef(p);
Line 1094  again:
Line 1094  again:
                             "ktrace write failed, errno %d, tracing stopped\n",                              "ktrace write failed, errno %d, tracing stopped\n",
                             error);                              error);
                 proclist_lock_read();                  proclist_lock_read();
                 LIST_FOREACH(p, &allproc, p_list) {                  PROCLIST_FOREACH(p, &allproc) {
                         if (p->p_tracep == ktd)                          if (p->p_tracep == ktd)
                                 ktrderef(p);                                  ktrderef(p);
                 }                  }

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

CVSweb <webmaster@jp.NetBSD.org>