From owner-svn-src-head@FreeBSD.ORG Sun Aug 18 06:25:49 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EF30999D; Sun, 18 Aug 2013 06:25:48 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x22e.google.com (mail-ee0-x22e.google.com [IPv6:2a00:1450:4013:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0B3FE2126; Sun, 18 Aug 2013 06:25:47 +0000 (UTC) Received: by mail-ee0-f46.google.com with SMTP id c13so1585882eek.33 for ; Sat, 17 Aug 2013 23:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=I2T0HS3iwAJQSjc9lfot2F0FOhcs5qwBp5eJ+ejfXks=; b=VmswhELtCivoUmQBwTUwmkO7phM+cZPBkfO2cUvQCpO7NNKxL5tZ76iJIHh8Mj4rFq XdWGEd2bL/lU+BaTfXp4xiLc+Uq7Ce6sHlA3Qs+ViTYNAzEQehCaLc9uzZ1QEWwvkkmq +QLb9fDgZgGWp75M57jBJPT0OUAKQtRZu1rqcVby4J8tClFJcaYrchEkpUMXxKB6PnXC 9Bur4ASsTU0+y0imoacHQNrKkWEbCJMQizDj0DQDh2WwW/3xm/z48P2B22UEpRZppvrB d4dHXSlEwieNkzokQBqUUR3oP13wkrpqmIyuieKvyXtEazGPTfP/1yZQodeo8Q/j9Hlt zlnQ== MIME-Version: 1.0 X-Received: by 10.15.26.66 with SMTP id m42mr132781eeu.73.1376807146140; Sat, 17 Aug 2013 23:25:46 -0700 (PDT) Sender: hiren.panchasara@gmail.com Received: by 10.14.105.137 with HTTP; Sat, 17 Aug 2013 23:25:46 -0700 (PDT) In-Reply-To: <201308180608.r7I68qKF031513@svn.freebsd.org> References: <201308180608.r7I68qKF031513@svn.freebsd.org> Date: Sat, 17 Aug 2013 23:25:46 -0700 X-Google-Sender-Auth: kzy0jsGxkKcsiNttTBKY5mKJLO0 Message-ID: Subject: Re: svn commit: r254476 - head/sys/dev/hwpmc From: hiren panchasara To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head , svn-src-all , src-committers X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 06:25:49 -0000 On Sat, Aug 17, 2013 at 11:08 PM, Adrian Chadd wrote: > Author: adrian > Date: Sun Aug 18 06:08:52 2013 > New Revision: 254476 > URL: http://svnweb.freebsd.org/changeset/base/254476 > > Log: > Add in missing events for Sandy Bridge Xeon. > > * Add in MEM_LOAD_UOPS_LLC_HIT_RETIRED for both sandy bridge and sandy > bridge Xeon. Right now it only is enabled for Sandy Bridge. > * D2/0F is actually a combination rather than a separate counter, so > just flip that on for the CPU types that support it. > > There's an errata for using this on SB Xeon hardware - I've documented > it in kern/181346. > > Tested: > > * Sandy Bridge > * Sandy Bridge Xeon > > Sponsored by: Netflix, Inc. > > Modified: > head/sys/dev/hwpmc/hwpmc_core.c > head/sys/dev/hwpmc/pmc_events.h > Please add new counters to sandybridge xeon manpage - man 3 pmc.sandybridgexeon Cheers, Hiren