[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140218023659.GV12219@tassilo.jf.intel.com>
Date: Mon, 17 Feb 2014 18:36:59 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
Frederic Weisbecker <fweisbec@...il.com>,
Mike Galbraith <efault@....de>,
Paul Mackerras <paulus@...ba.org>,
Stephane Eranian <eranian@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Matt Fleming <matt.fleming@...el.com>
Subject: Re: [PATCH v1 03/11] perf: Allow for multiple ring buffers per event
> I'm not convinced it needs to be a PERF_RECORD_SAMPLE; but some
> PERF_RECORD_* type for sure.
Adding a header shouldn't be a problem, it's merely wasting 4K.
> Also it must allow interleaving with other > events.
But can you describe a concrete use case where interleaving is better?
I'm not aware of any. Anything that could be usefully interleaved
can just be in the side band stream, and if you want a unified uncompressed
stream you just run perf inject. The standard tools don't care for
it as they have to reorder everything anyways to deal with multi
CPU reordering.
Your scheme is very complex and adds a lot of use restrictions
over the current code, so there should be a good reason for it
at least.
Especially the TLB hac^wproposal sounds horrible to me, compared
to the straight forward zero copy ring buffer used today.
-Andi
--
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