lkml.org 
[lkml]   [2011]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 6/7] perf: Use MSR names in the extra reg lists
    From
    Date
    On Mon, 2010-12-27 at 23:38 +0800, Lin Ming wrote:
    > @@ -88,7 +88,8 @@ static struct event_constraint intel_nehalem_event_constraints[] =
    >
    > static struct extra_reg intel_nehalem_extra_regs[] =
    > {
    > - INTEL_EVENT_EXTRA_REG(0xb7, 0x1a6, 0xffff, 32), /* OFFCORE_RESPONSE */
    > + /* OFFCORE_RESPONSE */
    > + INTEL_EVENT_EXTRA_REG(0xb7, MSR_OFFCORE_RSP_0, 0xffff, 32),
    > EVENT_EXTRA_END
    > };

    Since we're going for another posting anyway, I think you can drop that
    comment here, it should be evident from the MSR name included in the
    constraint.


    \
     
     \ /
      Last update: 2011-01-04 13:09    [W:0.022 / U:31.040 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site