Re: [BUG] perf_event: sampling buffer format cannot handlemulti-event sampling

From: Stephane Eranian
Date: Tue Apr 19 2011 - 17:19:13 EST


On Tue, Apr 19, 2011 at 9:20 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Tue, 2011-04-19 at 21:16 +0000, Stephane Eranian wrote:
>> > Or simply don't mix different sample_types in the same buffer?
>> >
>> Does the kernel disallow this when you merge the output via that
>> ioctl()?
>
> No, it will happily comply and provide you with hard to parse output.
> Just don't do that if you're not willing to untangle it ;-)
But even if you wanted, you could not, that was my point.

>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/