From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 00:55:06 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A652A9CC for ; Thu, 18 Oct 2012 00:55:06 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 26E4F8FC14 for ; Thu, 18 Oct 2012 00:55:05 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so3728155bkc.13 for ; Wed, 17 Oct 2012 17:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GhcbtP457VhP/0xkU5bKd1mfiqWqyldj+s6BZFUL2O4=; b=CG8LqSZWbsgn6i2znhcyciZrgFC/54/xOmClMx98Gyu00TenEq0rcKjBjuYlxfxqfx mn4Hh806wgo+LA+SsDLC/MrujrR5jmqf6BuxaSXd8Ap5iCxY0BB0vcb3kvZLXhaWk3tN bPrmkcmKAbvyea4eB0FtSBfwdjBw9TOnCMylR/Zn13ssaJXa/ivWoGlnzH7uVY650hFL wMVHOqf/ecgdgrMkXtoDRSt1OY4WnamwNx5Sgfot0epu8RP14D7Z5XS2SHnvZda48/3l IsTEjAlbDrq6sRDj5sLabae3Unijqa6OKc7Qakmhzlufw9OzvAiMXhCYTMiDlRrQ1qkb VQbA== MIME-Version: 1.0 Received: by 10.204.131.75 with SMTP id w11mr5905838bks.111.1350521705165; Wed, 17 Oct 2012 17:55:05 -0700 (PDT) Received: by 10.205.36.136 with HTTP; Wed, 17 Oct 2012 17:55:05 -0700 (PDT) In-Reply-To: References: <1349390777.5234.9.camel@powernoodle.corp.yahoo.com> Date: Wed, 17 Oct 2012 17:55:05 -0700 Message-ID: Subject: Re: [CFT]hwpmc update for sandybridge-e From: hiren panchasara To: Jim Harris Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Davide Italiano , freebsd-current , Fabien Thomas X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 00:55:06 -0000 On Wed, Oct 17, 2012 at 5:12 PM, hiren panchasara < hiren.panchasara@gmail.com> wrote: > > > On Wed, Oct 17, 2012 at 5:00 PM, Jim Harris wrote: > >> On Wed, Oct 17, 2012 at 3:57 PM, hiren panchasara >> wrote: >> > >> >> > >> > >> > Thanks for the pointers Jim! >> > >> > It seems that everything works now with: >> > >> > http://www.strugglingcoder.info/patches/hwpmc_sbx_3.txt >> > I've also made following change in existing sandybridge (not xeon :-) ) mappings. Let me know if that looks reasonable. @@ -2772,7 +2777,7 @@ __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_NONE", IAP_EVENT_D2H_08H) \ __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RETIRED.LLC_MISS", IAP_EVENT_D4H_02H) \ __PMC_EV_ALIAS("L2_TRANS.DEMAND_DATA_RD", IAP_EVENT_F0H_01H) \ -__PMC_EV_ALIAS("L2_TRANS.RF0", IAP_EVENT_F0H_02H) \ +__PMC_EV_ALIAS("L2_TRANS.RFO", IAP_EVENT_F0H_02H) \ __PMC_EV_ALIAS("L2_TRANS.CODE_RD", IAP_EVENT_F0H_04H) \ __PMC_EV_ALIAS("L2_TRANS.ALL_PF", IAP_EVENT_F0H_08H) \ __PMC_EV_ALIAS("L2_TRANS.L1D_WB", IAP_EVENT_F0H_10H) \ Thanks, Hiren