[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1309500301.24590.116.camel@minggr.sh.intel.com>
Date: Fri, 01 Jul 2011 14:05:01 +0800
From: Lin Ming <ming.m.lin@...el.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: 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 1/4] perf, x86: Add Intel Nehalem/Westmere uncore pmu
On Thu, 2011-06-30 at 22:08 +0800, Peter Zijlstra wrote:
> On Thu, 2011-06-30 at 08:09 +0000, Lin Ming wrote:
> > +static struct pmu uncore_pmu = {
>
> .task_ctx_nr = perf_invalid_context,
OK.
usage: perf stat [<options>] [<command>]
Currently, "perf stat" always need a <command> to do counting.
Need to change it to be optional.
So I may add a "P" option to specify which physical processor to count.
perf stat -P 3 -e uncore:rXXXX
>
> > + .event_init = uncore_pmu_event_init,
> > + .add = uncore_pmu_add,
> > + .del = uncore_pmu_del,
> > + .start = uncore_pmu_start,
> > + .stop = uncore_pmu_stop,
> > + .read = uncore_pmu_read,
> > +};
>
>
--
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