cvs commit: src/sys/sys ktrace.h src/sys/kern kern_ktrace.c

Robert Watson rwatson at FreeBSD.org
Wed Nov 16 00:11:08 PST 2005


rwatson     2005-11-16 08:11:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/sys              ktrace.h 
    sys/kern             kern_ktrace.c 
  Log:
  Merge kern_ktrace.c:1.102, ktrace.h:1.30 from HEAD to RELENG_6:
  
    Replace ktr_buffer pointer in struct ktr_header with a ktr_unused
    intptr_t.  The buffer length needs to be written to disk as part
    of the trace log, but the kernel pointer for the buffer does not.
    Add a new ktr_buffer pointer to the kernel-only ktrace request
    structure to hold that pointer.  This frees up an integer in the
    ktrace record format that can be used to hold the threadid,
    although older ktrace files will have a garbage ktr_buffer field
    (or more accurately, a kernel pointer value).
  
    Space requested by:     davidxu
  
  Revision   Changes    Path
  1.101.2.1  +11 -9     src/sys/kern/kern_ktrace.c
  1.29.2.1   +1 -1      src/sys/sys/ktrace.h


More information about the cvs-all mailing list