[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.112 and 1.112.2.1

version 1.112, 2006/11/28 17:27:10 version 1.112.2.1, 2008/04/11 06:35:02
Line 731  ktrmool(struct lwp *l, const void *kaddr
Line 731  ktrmool(struct lwp *l, const void *kaddr
   
 void  void
 ktrsaupcall(struct lwp *l, int type, int nevent, int nint, void *sas,  ktrsaupcall(struct lwp *l, int type, int nevent, int nint, void *sas,
     void *ap)      void *ap, void *ksas)
 {  {
         struct proc *p = l->l_proc;          struct proc *p = l->l_proc;
         struct ktrace_entry *kte;          struct ktrace_entry *kte;
Line 758  ktrsaupcall(struct lwp *l, int type, int
Line 758  ktrsaupcall(struct lwp *l, int type, int
         /*          /*
          *  Copy the sa_t's           *  Copy the sa_t's
          */           */
         sapp = (struct sa_t **) sas;          sapp = (struct sa_t **) ksas;
   
         for (i = nevent + nint; i >= 0; i--) {          for (i = nevent + nint; i >= 0; i--) {
                 if (copyin(*sapp, (char *)ktp + len, sizeof(struct sa_t)) == 0)                  memcpy((char *)ktp + len, *sapp, sizeof(struct sa_t));
                         len += sizeof(struct sa_t);                  len += sizeof(struct sa_t);
                 sapp++;                  sapp++;
         }          }
   

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.112.2.1

CVSweb <webmaster@jp.NetBSD.org>