cvs commit: src/sys/kern kern_switch.c src/sys/sys ktr.h

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Mon, 3 Jan 2005 17:33:16 +0000 (UTC)
rwatson     2005-01-03 17:33:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/kern             kern_switch.c 
    sys/sys              ktr.h 
  Log:
  Merge kern_switch.c:1.103 and ktr.h:1.25 from HEAD to RELENG_5:
  
    date: 2004/11/07 23:11:32;  author: rwatson;  state: Exp;  lines: +4 -0
    date: 2004/11/07 23:11:32;  author: rwatson;  state: Exp;  lines: +2 -1
    Add basic critical section tracing to KTR using event type KTR_CRITICAL.
    This generates a KTR event for each critical section entered and exited.
  
    It would be desirable to also log the filename and line number of the
    source entering or exiting the critical section, but this requires
    hacking up the critical section API, so I've not done that yet.
  
  Revision   Changes    Path
  1.78.2.14  +4 -0      src/sys/kern/kern_switch.c
  1.22.2.3   +2 -1      src/sys/sys/ktr.h
Received on Mon Jan 03 2005 - 17:33:16 UTC