[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF1ivSZk1OKK5NSAeebxsTHMbgzWmrTRC_r6jeBkawJ_QUoAUA@mail.gmail.com>
Date: Fri, 15 Jul 2011 22:48:25 +0800
From: Lin Ming <minggr@...il.com>
To: Lin Ming <ming.m.lin@...el.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>, Andi Kleen <andi@...stfloor.org>,
Stephane Eranian <eranian@...gle.com>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/6] perf, x86: Add Intel Nehalem/Westmere uncore pmu
On Fri, Jul 15, 2011 at 10:34 PM, Lin Ming <ming.m.lin@...el.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists