lkml.org 
[lkml]   [2011]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v2 2/6] perf, x86: Add Intel Nehalem/Westmere uncore pmu
    From
    On Fri, Jul 15, 2011 at 10:34 PM, Lin Ming <ming.m.lin@intel.com> wrote:
    > +
    > +#define UNCORE_PMU_NUM_GENERIC_EVENTS 1
    > +
    > +static struct pmu_event uncore_events[UNCORE_PMU_NUM_GENERIC_EVENTS] = {
    > +       {"cycle", 0xffff, },
    > +};

    Sorry, hard code 0xffff should be replaced with UNCORE_FIXED_EVENT
    The uncore fixed event is used to count uncore cycle.

    We can add other general events for uncore pmu later.

    Lin Ming
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-07-15 16:51    [W:0.022 / U:60.080 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site