Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 17:52:23 +0000 (UTC)
From:      "George V. Neville-Neil" <gnn@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/hwpmc hwpmc_core.c hwpmc_core.h
Message-ID:  <201007291752.o6THqcK7007965@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gnn         2010-07-29 17:52:23 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/hwpmc        hwpmc_core.c hwpmc_core.h 
  Log:
  SVN rev 210621 on 2010-07-29 17:52:23Z by gnn
  
  Make sure that we clear the correct bits when we turn off
  a PMC.  It was possible that we could have turned a bit on but
  never cleared it.
  
  Extend the calls to rdmsr() to all necessary functions, not
  just those which previously caused a panic.
  
  Pointed out by: jhb@
  MFC after:      1 week
  
  Revision  Changes    Path
  1.12      +28 -21    src/sys/dev/hwpmc/hwpmc_core.c
  1.4       +6 -0      src/sys/dev/hwpmc/hwpmc_core.h



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