Messages in this thread | | | Subject | Re: [PATCH 3/6] perf: Round robin groups of events using list_rotate_left() | From | Peter Zijlstra <> | Date | Thu, 14 Jan 2010 13:25:22 +0100 |
| |
On Sun, 2010-01-10 at 02:38 +0100, Frederic Weisbecker wrote: > This is more proper that doing it through a list_for_each_entry() > that breaks after the first entry. > > Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Arnaldo Carvalho de Melo <acme@redhat.com> > Cc: Paul Mackerras <paulus@samba.org> > ---
> + list_rotate_left(&ctx->pinned_groups); > + list_rotate_left(&ctx->flexible_groups);
Just wondering, pinned events were supposed to be on the pmu at all times, right?
| |