Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 16:44:18 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/tools/sched schedgraph.py
Message-ID:  <200901131644.n0DGiVBX046121@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2009-01-13 16:44:18 UTC

  FreeBSD src repository

  Modified files:
    tools/sched          schedgraph.py 
  Log:
  SVN rev 187156 on 2009-01-13 16:44:18Z by jhb
  
  Add support for two new event source types:
  - Callwheels traced via KTR_CALLOUT.  Each CPU is assigned a callwheel
    source.  The events on this source are the execution of individual callout
    routines.  Each routine shows up as a green rectangle while it is executed
    and the event details include the function pointer and argument.
  - Locks traced via KTR_LOCK.  Currently, each lock name is assigned an event
    source (since the existing KTR_LOCK traces only include lock names and
    not pointers).  This does mean that if multiple locks of the same name are
    manipulated, the source line for that name may be confusing.  However, for
    many cases this can be useful.  Locks are blue when they are held and
    purple when contested.  The contention support is a bit weak due to
    limitations in the rw_rlock() and mtx_lock_spin() logging messages
    currently.  I also have not added support for contention on lockmgr,
    sx, or rmlocks yet.  What is there now can be profitably used to examine
    activity on Giant however.
  - Expand the width of the event source names column a bit to allow for some
    of the longer names of these new source types.
  
  Revision  Changes    Path
  1.19      +224 -2    src/tools/sched/schedgraph.py



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