[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130801144005.GG27162@twins.programming.kicks-ass.net>
Date: Thu, 1 Aug 2013 16:40:05 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>, LKML <linux-kernel@...r.kernel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ingo Molnar <mingo@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 6/8] perf: Account freq events per cpu
On Thu, Aug 01, 2013 at 04:21:11PM +0200, Frederic Weisbecker wrote:
> > > Yeah, just go with a single global state for now..
> >
> > The perf default is to create inherited counter, which are per cpu
> > anyway. So we'll not loose much.
>
> So you mean that I keep the per cpu state when event->cpu != -1 and also have
> a global counter for the others. Right?
No, only a single global counter. The fact that perf, by default,
creates a counter per cpu, means that there's little effective
difference between a single global counter and per-cpu counters.
--
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