Re: [PATCH v2 2/6] perf, x86: Add Intel Nehalem/Westmere uncore pmu

From: Lin Ming
Date: Fri Jul 15 2011 - 10:48:31 EST


On Fri, Jul 15, 2011 at 10:34 PM, Lin Ming <ming.m.lin@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/