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

From: Peter Zijlstra
Date: Tue Apr 19 2011 - 17:18:26 EST


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 ;-)

--
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/