Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 23:11:33 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_switch.c src/sys/sys ktr.h
Message-ID:  <200411072311.iA7NBX61045709@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-11-07 23:11:33 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_switch.c 
    sys/sys              ktr.h 
  Log:
  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.103     +4 -0      src/sys/kern/kern_switch.c
  1.25      +2 -1      src/sys/sys/ktr.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411072311.iA7NBX61045709>